#include "xmltk.h"Go to the source code of this file.
Compounds | |
| class | CTokenTable |
| struct | TOKENINFO |
| struct | tokeninfo_cmpeq |
| struct | tokeninfo_hash |
Typedefs | |
| typedef * | PTOKENINFO |
| typedef vector< TOKENINFO > | VTOKENINFO |
| typedef hash_map< TOKENINFO, unsigned int, tokeninfo_hash, tokeninfo_cmpeq > | MAP_TI_INDEX |
Functions | |
| size_t | myhashstr (char const *psz) |
| bool | GetGlobalTokenTable (RCLIID riid, void **ppv) |
| void | InitGlobalTokenTable () |
| void | CleanupGlobalTokenTable () |
Variables | |
| ITokenTable * | g_ptt = NULL |
|
|
Definition at line 41 of file tokentable.cpp. |
|
|
|
|
|
Definition at line 13 of file tokentable.cpp. |
|
|
Definition at line 223 of file tokentable.cpp. Referenced by STRPAIR().
00224 {
00225 if (g_ptt)
00226 {
00227 g_ptt->Release();
00228 g_ptt = NULL;
00229 }
00230 }
|
|
||||||||||||
|
Definition at line 202 of file tokentable.cpp. 00203 {
00204 if (g_ptt)
00205 {
00206 return g_ptt->QueryInterface(riid, ppv);
00207 }
00208
00209 return false;
00210 }
|
|
|
Definition at line 212 of file tokentable.cpp. Referenced by STRPAIR().
00213 {
00214 assert (g_ptt == NULL);
00215 CTokenTable *ptt = new CTokenTable();
00216 if (ptt)
00217 {
00218 ptt->QueryInterface(&IID_ITokenTable, (void**)&g_ptt);
00219 ptt->Release();
00220 }
00221 }
|
|
|
Definition at line 26 of file tokentable.cpp. Referenced by tokeninfo_hash::operator()().
00027 {
00028 return psz ? std::hash<char const *>()(psz) : 0;
00029 }
|
|
|
Definition at line 200 of file tokentable.cpp. |
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001