rtEXIEvent.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00031 #ifndef _RTEXIEVENT_H_
00032 #define _RTEXIEVENT_H_
00033
00034 #include "rtexisrc/rtEXIExternDefs.h"
00035 #include "rtxsrc/rtxXmlQName.h"
00036
00037 #ifdef __cplusplus
00038 extern "C" {
00039 #endif
00040
00048 typedef enum { SD, ED, SE, EE, AT, CH, NS, CM, PI, DT, ER } OSEXIEventType;
00049
00050 typedef struct _OSEXIEvent {
00051
00055 OSEXIEventType type;
00056
00061 OSXMLFullQName* qname;
00062
00063 } OSEXIEvent;
00064
00065 extern const OSEXIEvent gc_SD;
00066 extern const OSEXIEvent gc_ED;
00067 extern const OSEXIEvent gc_SE;
00068 extern const OSEXIEvent gc_EE;
00069 extern const OSEXIEvent gc_AT;
00070 extern const OSEXIEvent gc_CH;
00071 extern const OSEXIEvent gc_NS;
00072 extern const OSEXIEvent gc_CM;
00073 extern const OSEXIEvent gc_PI;
00074 extern const OSEXIEvent gc_DT;
00075 extern const OSEXIEvent gc_ER;
00076
00085 EXTERNEXI void rtEXIEventInit
00086 (OSCTXT* pctxt, OSEXIEvent* pEvent, OSEXIEventType type,
00087 const OSXMLFullQName* qname);
00088
00098 EXTERNEXI OSEXIEvent* rtEXINewEvent
00099 (OSCTXT* pctxt, OSEXIEventType type, const OSXMLFullQName* qname);
00100
00111 EXTERNEXI OSEXIEvent* rtEXINewEventDeepCopy
00112 (OSCTXT* pctxt, const OSEXIEvent* pEvent);
00113
00122 EXTERNRT void rtEXIEventDeepCopy
00123 (OSCTXT* pctxt, OSEXIEvent* pdest, const OSEXIEvent* psrc);
00124
00133 EXTERNRT void rtEXIEventFreeMem
00134 (OSCTXT* pctxt, OSEXIEvent* pEvent, OSBOOL dynamic);
00135
00142 EXTERNEXI OSUINT32 rtEXIEventHash (const OSEXIEvent* pEvent);
00143
00151 EXTERNEXI OSBOOL rtEXIEventsEqual
00152 (const OSEXIEvent* pEvent1, const OSEXIEvent* pEvent2);
00153
00162 EXTERNEXI const OSEXIEvent* rtEXIGetBaseEvent (const OSEXIEvent* pEvent);
00163
00172 EXTERNEXI const char* rtEXIEventTypeToString (OSEXIEventType type);
00173
00183 EXTERNEXI OSUTF8CHAR* rtEXIEventToString
00184 (OSCTXT* pctxt, const OSEXIEvent* pEvent);
00185
00191 EXTERNEXI void rtEXIEventPrint (const OSEXIEvent* pEvent);
00192
00193 #ifdef __cplusplus
00194 }
00195 #endif
00196
00199 #endif