rtEXIDecStringTables.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 _RTEXIDECSTRINGTABLES_H_
00032 #define _RTEXIDECSTRINGTABLES_H_
00033
00034 #include "rtexisrc/rtEXIDecStringTable.h"
00035 #include "rtxsrc/rtxHashMap.h"
00036 #include "rtxmlsrc/osrtxml.h"
00037
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041
00046 typedef struct {
00051 OSEXIDecStringTable uriTable;
00052
00059 OSRTHashMap prefixTables;
00060
00067 OSRTHashMap localNameTables;
00068
00074 OSRTHashMap localValueTables;
00075
00080 OSEXIDecStringTable globalValueTable;
00081
00082 } OSEXIDecStringTables;
00083
00090 EXTERNEXI void rtEXIDecStrTabsInit
00091 (OSCTXT* pctxt, OSEXIDecStringTables* pstrtabs);
00092
00099 EXTERNEXI void rtEXIDecStrTabsClear
00100 (OSCTXT* pctxt, OSEXIDecStringTables* pstrtabs);
00101
00110 EXTERNEXI OSUINT32 rtEXIDecStrTabsAddURI
00111 (OSCTXT* pctxt, OSEXIDecStringTables* pstrtabs, const OSUTF8CHAR* uri);
00112
00122 EXTERNEXI const OSUTF8CHAR* rtEXIDecStrTabsGetURI
00123 (OSEXIDecStringTables* pstrtabs, OSUINT32 index);
00124
00132 EXTERNEXI OSUINT32 rtEXIDecStrTabsGetURITableSize
00133 (OSEXIDecStringTables* pstrtabs);
00134
00145 EXTERNEXI OSUINT32 rtEXIDecStrTabsAddPrefix
00146 (OSCTXT* pctxt, OSEXIDecStringTables* pstrtabs, const OSUTF8CHAR* uri,
00147 const OSUTF8CHAR* prefix);
00148
00158 EXTERNEXI const OSUTF8CHAR* rtEXIDecStrTabsGetPrefix
00159 (OSEXIDecStringTables* pstrtabs, const OSUTF8CHAR* uri,
00160 OSUINT32 index);
00161
00170 EXTERNEXI OSUINT32 rtEXIDecStrTabsGetPrefixTableSize
00171 (OSEXIDecStringTables* pstrtabs, const OSUTF8CHAR* uri);
00172
00183 EXTERNEXI OSUINT32 rtEXIDecStrTabsAddLocalName
00184 (OSCTXT* pctxt, OSEXIDecStringTables* pstrtabs, const OSUTF8CHAR* uri,
00185 const OSUTF8CHAR* name);
00186
00196 EXTERNEXI const OSUTF8CHAR* rtEXIDecStrTabsGetLocalName
00197 (OSEXIDecStringTables* pstrtabs, const OSUTF8CHAR* uri,
00198 OSUINT32 index);
00199
00208 EXTERNEXI OSUINT32 rtEXIDecStrTabsGetLocalNameTableSize
00209 (OSEXIDecStringTables* pstrtabs, const OSUTF8CHAR* uri);
00210
00221 EXTERNEXI OSUINT32 rtEXIDecStrTabsAddLocalValue
00222 (OSCTXT* pctxt, OSEXIDecStringTables* pstrtabs, const OSXMLFullQName* qname,
00223 const OSUTF8CHAR* value);
00224
00234 EXTERNEXI const OSUTF8CHAR* rtEXIDecStrTabsGetLocalValue
00235 (OSEXIDecStringTables* pstrtabs, const OSXMLFullQName* qname,
00236 OSUINT32 index);
00237
00246 EXTERNEXI OSUINT32 rtEXIDecStrTabsGetLocalValueTableSize
00247 (OSEXIDecStringTables* pstrtabs, const OSXMLFullQName* qname);
00248
00258 EXTERNEXI OSUINT32 rtEXIDecStrTabsAddGlobalValue
00259 (OSCTXT* pctxt, OSEXIDecStringTables* pstrtabs, const OSUTF8CHAR* value);
00260
00270 EXTERNEXI const OSUTF8CHAR* rtEXIDecStrTabsGetGlobalValue
00271 (OSEXIDecStringTables* pstrtabs, OSUINT32 index);
00272
00280 EXTERNEXI OSUINT32 rtEXIDecStrTabsGetGlobalValueTableSize
00281 (OSEXIDecStringTables* pstrtabs);
00282
00283 #ifdef __cplusplus
00284 }
00285 #endif
00286
00289 #endif
00290