00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00029 #ifndef _ASN1CXEROPENTYPE_H_
00030 #define _ASN1CXEROPENTYPE_H_
00031
00032 #ifdef __cplusplus
00033 #include <stdlib.h>
00034 #include "asn1XerCppTypes.h"
00035
00041 class EXTERNXER ASN1CXerOpenType :
00042 public ASN1CType, public ASN1XERSAXDecodeHandler
00043 {
00044 protected:
00045 ASN1TOpenType& msgData;
00046 ASN1XERShdMemHpEncBuf mEncodeBuffer;
00047 OSCTXT* mpEncCtxt;
00048
00049 OSBOOL isEmptyElement (const OSUTF8CHAR* const qname);
00050
00051 public:
00052 ASN1CXerOpenType (ASN1TOpenType& data);
00053 ASN1CXerOpenType (OSRTMessageBufferIF& msgBuf, ASN1TOpenType& data);
00054 ASN1CXerOpenType (ASN1TObject& data);
00055 ASN1CXerOpenType (OSRTMessageBufferIF& msgBuf, ASN1TObject& data);
00056 ~ASN1CXerOpenType ();
00057
00058
00059
00060 ASN1CXerOpenType& operator= (const ASN1CXerOpenType&);
00061
00062
00063
00064 virtual int startElement
00065 (const OSUTF8CHAR* const uri,
00066 const OSUTF8CHAR* const localname,
00067 const OSUTF8CHAR* const qname,
00068 const OSUTF8CHAR* const* attrs);
00069
00070 virtual int characters
00071 (const OSUTF8CHAR* const chars, unsigned int length);
00072
00073 virtual int endElement
00074 (const OSUTF8CHAR* const uri,
00075 const OSUTF8CHAR* const localname,
00076 const OSUTF8CHAR* const qname);
00077 } ;
00078
00079 #endif
00080
00081 #endif