43 #ifndef _ASN1CPPEVTHNDLR_H_ 44 #define _ASN1CPPEVTHNDLR_H_ 55 #define OS_UNUSED_ARG(arg) (void)arg 90 virtual void startElement (
const char* name,
int index) = 0;
110 virtual void endElement (
const char* name,
int index) = 0;
154 intValue ((OSINT32)value);
165 uIntValue ((OSUINT32)value);
177 virtual void bitStrValue (OSUINT32 numbits,
const OSOCTET* data) {
190 virtual void octStrValue (OSUINT32 numocts,
const OSOCTET* data) {
263 virtual void oidValue (OSUINT32 numSubIds, OSUINT32* pSubIds) {
284 virtual void enumValue (OSUINT32 value,
const OSUTF8CHAR* text) {
311 EXTRTMETHOD
static void addEventHandler
326 EXTRTMETHOD
static void removeEventHandler
341 EXTRTMETHOD
static void invokeStartElement
342 (
OSCTXT* pCtxt,
const char* name,
int index);
353 EXTRTMETHOD
static void invokeEndElement
354 (
OSCTXT* pCtxt,
const char* name,
int index);
363 EXTRTMETHOD
static void invokeBoolValue (
OSCTXT* pCtxt, OSBOOL value);
372 EXTRTMETHOD
static void invokeIntValue (
OSCTXT* pCtxt, OSINT32 value);
381 EXTRTMETHOD
static void invokeUIntValue (
OSCTXT* pCtxt, OSUINT32 value);
390 EXTRTMETHOD
static void invokeInt64Value (
OSCTXT* pCtxt, OSINT64 value);
399 EXTRTMETHOD
static void invokeUInt64Value (
OSCTXT* pCtxt, OSUINT64 value);
409 EXTRTMETHOD
static void invokeBitStrValue
410 (
OSCTXT* pCtxt, OSUINT32 numbits,
const OSOCTET* data);
420 EXTRTMETHOD
static void invokeOctStrValue
421 (
OSCTXT* pCtxt, OSUINT32 numocts,
const OSOCTET* data);
430 EXTRTMETHOD
static void invokeCharStrValue
431 (
OSCTXT* pCtxt,
const char* value);
441 EXTRTMETHOD
static void invokeCharStrValue
442 (
OSCTXT* pCtxt, OSUINT32 nchars, OSUNICHAR* data);
452 EXTRTMETHOD
static void invokeCharStrValue
453 (
OSCTXT* pCtxt, OSUINT32 nchars, OS32BITCHAR* data);
463 EXTRTMETHOD
static void invokeCharStrValue
464 (
OSCTXT* pCtxt, OSUINT32 nchars,
const OSUTF8CHAR* data);
472 EXTRTMETHOD
static void invokeNullValue (
OSCTXT* pCtxt);
482 EXTRTMETHOD
static void invokeOidValue
483 (
OSCTXT* pCtxt, OSUINT32 numSubIds, OSUINT32* pSubIds);
492 EXTRTMETHOD
static void invokeRealValue (
OSCTXT* pCtxt,
double value);
502 EXTRTMETHOD
static void invokeEnumValue
503 (
OSCTXT* pCtxt, OSUINT32 value,
const OSUTF8CHAR* text);
513 EXTRTMETHOD
static void invokeOpenTypeValue
514 (
OSCTXT* pCtxt, OSUINT32 numocts,
const OSOCTET* data);
563 virtual int error (
OSCTXT* pCtxt,
ASN1CCB* pCCB,
int stat) = 0;
568 EXTRTMETHOD
static int invoke (
OSCTXT* pCtxt,
ASN1CCB* pCCB,
int stat);
573 EXTRTMETHOD
static int invoke
574 (
OSCTXT* pCtxt, OSOCTET* ptr,
int len,
int stat);
586 EXTRTMETHOD
static void setErrorHandler
virtual void enumValue(OSUINT32 value, const OSUTF8CHAR *text)
Definition: asn1CppEvtHndlr.h:284
virtual void charStrValue(OSUINT32 nchars, OSUNICHAR *data)
Definition: asn1CppEvtHndlr.h:227
virtual void uIntValue(OSUINT32 value)
Definition: asn1CppEvtHndlr.h:144
virtual void octStrValue(OSUINT32 numocts, const OSOCTET *data)
Definition: asn1CppEvtHndlr.h:190
Definition: asn1CppTypes.h:102
virtual void openTypeValue(OSUINT32 numocts, const OSOCTET *data)
Definition: asn1CppEvtHndlr.h:297
virtual void oidValue(OSUINT32 numSubIds, OSUINT32 *pSubIds)
Definition: asn1CppEvtHndlr.h:263
Definition: asn1CppEvtHndlr.h:525
virtual void charStrValue(OSUINT32 nchars, const OSUTF8CHAR *value)
Definition: asn1CppEvtHndlr.h:211
virtual void bitStrValue(OSUINT32 numbits, const OSOCTET *data)
Definition: asn1CppEvtHndlr.h:177
virtual void uInt64Value(OSUINT64 value)
Definition: asn1CppEvtHndlr.h:164
virtual void endElement(const char *, int)
Definition: asn1CppEvtHndlr.h:530
virtual void startElement(const char *, int)
Definition: asn1CppEvtHndlr.h:528
virtual void int64Value(OSINT64 value)
Definition: asn1CppEvtHndlr.h:153
virtual void realValue(double value)
Definition: asn1CppEvtHndlr.h:274
virtual void intValue(OSINT32 value)
Definition: asn1CppEvtHndlr.h:132
#define OS_UNUSED_ARG(arg)
Definition: asn1CppEvtHndlr.h:55
virtual void nullValue()
Definition: asn1CppEvtHndlr.h:253
virtual void charStrValue(const char *value)
Definition: asn1CppEvtHndlr.h:201
virtual void charStrValue(OSUINT32 nchars, OS32BITCHAR *data)
Definition: asn1CppEvtHndlr.h:242
virtual void boolValue(OSBOOL value)
Definition: asn1CppEvtHndlr.h:123
Definition: asn1CppEvtHndlr.h:547
Definition: asn1CppEvtHndlr.h:67
Definition: rtxContext.h:189
Definition: asn1type.h:1396