51 #ifndef _ASN1CPPEVTHNDLR_H_ 52 #define _ASN1CPPEVTHNDLR_H_ 63 #define OS_UNUSED_ARG(arg) (void)arg 98 virtual void startElement (
const char* name,
int index) = 0;
118 virtual void endElement (
const char* name,
int index) = 0;
162 intValue ((OSINT32)value);
173 uIntValue ((OSUINT32)value);
185 virtual void bitStrValue (OSUINT32 numbits,
const OSOCTET* data) {
198 virtual void octStrValue (OSUINT32 numocts,
const OSOCTET* data) {
271 virtual void oidValue (OSUINT32 numSubIds, OSUINT32* pSubIds) {
292 virtual void enumValue (OSUINT32 value,
const OSUTF8CHAR* text) {
319 EXTRTMETHOD
static void addEventHandler
334 EXTRTMETHOD
static void removeEventHandler
349 EXTRTMETHOD
static void invokeStartElement
350 (
OSCTXT* pCtxt,
const char* name,
int index);
361 EXTRTMETHOD
static void invokeEndElement
362 (
OSCTXT* pCtxt,
const char* name,
int index);
371 EXTRTMETHOD
static void invokeBoolValue (
OSCTXT* pCtxt, OSBOOL value);
380 EXTRTMETHOD
static void invokeIntValue (
OSCTXT* pCtxt, OSINT32 value);
389 EXTRTMETHOD
static void invokeUIntValue (
OSCTXT* pCtxt, OSUINT32 value);
398 EXTRTMETHOD
static void invokeInt64Value (
OSCTXT* pCtxt, OSINT64 value);
407 EXTRTMETHOD
static void invokeUInt64Value (
OSCTXT* pCtxt, OSUINT64 value);
417 EXTRTMETHOD
static void invokeBitStrValue
418 (
OSCTXT* pCtxt, OSUINT32 numbits,
const OSOCTET* data);
428 EXTRTMETHOD
static void invokeOctStrValue
429 (
OSCTXT* pCtxt, OSUINT32 numocts,
const OSOCTET* data);
438 EXTRTMETHOD
static void invokeCharStrValue
439 (
OSCTXT* pCtxt,
const char* value);
449 EXTRTMETHOD
static void invokeCharStrValue
450 (
OSCTXT* pCtxt, OSUINT32 nchars, OSUNICHAR* data);
460 EXTRTMETHOD
static void invokeCharStrValue
461 (
OSCTXT* pCtxt, OSUINT32 nchars, OS32BITCHAR* data);
471 EXTRTMETHOD
static void invokeCharStrValue
472 (
OSCTXT* pCtxt, OSUINT32 nchars,
const OSUTF8CHAR* data);
480 EXTRTMETHOD
static void invokeNullValue (
OSCTXT* pCtxt);
490 EXTRTMETHOD
static void invokeOidValue
491 (
OSCTXT* pCtxt, OSUINT32 numSubIds, OSUINT32* pSubIds);
500 EXTRTMETHOD
static void invokeRealValue (
OSCTXT* pCtxt,
double value);
510 EXTRTMETHOD
static void invokeEnumValue
511 (
OSCTXT* pCtxt, OSUINT32 value,
const OSUTF8CHAR* text);
521 EXTRTMETHOD
static void invokeOpenTypeValue
522 (
OSCTXT* pCtxt, OSUINT32 numocts,
const OSOCTET* data);
571 virtual int error (
OSCTXT* pCtxt,
ASN1CCB* pCCB,
int stat) = 0;
576 EXTRTMETHOD
static int invoke (
OSCTXT* pCtxt,
ASN1CCB* pCCB,
int stat);
581 EXTRTMETHOD
static int invoke
582 (
OSCTXT* pCtxt, OSOCTET* ptr,
int len,
int stat);
594 EXTRTMETHOD
static void setErrorHandler
virtual void enumValue(OSUINT32 value, const OSUTF8CHAR *text)
Definition: asn1CppEvtHndlr.h:292
virtual void charStrValue(OSUINT32 nchars, OSUNICHAR *data)
Definition: asn1CppEvtHndlr.h:235
virtual void uIntValue(OSUINT32 value)
Definition: asn1CppEvtHndlr.h:152
virtual void octStrValue(OSUINT32 numocts, const OSOCTET *data)
Definition: asn1CppEvtHndlr.h:198
#define OS_UNUSED_ARG(arg)
Definition: asn1CppEvtHndlr.h:63
Definition: asn1CppTypes.h:103
virtual void openTypeValue(OSUINT32 numocts, const OSOCTET *data)
Definition: asn1CppEvtHndlr.h:305
virtual void oidValue(OSUINT32 numSubIds, OSUINT32 *pSubIds)
Definition: asn1CppEvtHndlr.h:271
Definition: asn1CppEvtHndlr.h:533
virtual void charStrValue(OSUINT32 nchars, const OSUTF8CHAR *value)
Definition: asn1CppEvtHndlr.h:219
virtual void bitStrValue(OSUINT32 numbits, const OSOCTET *data)
Definition: asn1CppEvtHndlr.h:185
virtual void uInt64Value(OSUINT64 value)
Definition: asn1CppEvtHndlr.h:172
virtual void endElement(const char *, int)
Definition: asn1CppEvtHndlr.h:538
virtual void startElement(const char *, int)
Definition: asn1CppEvtHndlr.h:536
virtual void int64Value(OSINT64 value)
Definition: asn1CppEvtHndlr.h:161
virtual void realValue(double value)
Definition: asn1CppEvtHndlr.h:282
virtual void intValue(OSINT32 value)
Definition: asn1CppEvtHndlr.h:140
virtual void nullValue()
Definition: asn1CppEvtHndlr.h:261
virtual void charStrValue(const char *value)
Definition: asn1CppEvtHndlr.h:209
virtual void charStrValue(OSUINT32 nchars, OS32BITCHAR *data)
Definition: asn1CppEvtHndlr.h:250
virtual void boolValue(OSBOOL value)
Definition: asn1CppEvtHndlr.h:131
Definition: asn1CppEvtHndlr.h:555
Definition: asn1CppEvtHndlr.h:75
Definition: rtxContext.h:198
Definition: asn1type.h:1429