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 virtual int startElement
00061 (const OSUTF8CHAR* const uri,
00062 const OSUTF8CHAR* const localname,
00063 const OSUTF8CHAR* const qname,
00064 const OSUTF8CHAR* const* attrs);
00065
00066 virtual int characters
00067 (const OSUTF8CHAR* const chars, unsigned int length);
00068
00069 virtual int endElement
00070 (const OSUTF8CHAR* const uri,
00071 const OSUTF8CHAR* const localname,
00072 const OSUTF8CHAR* const qname);
00073 } ;
00074
00075 #endif
00076
00077 #endif