Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

xmltkobj.h File Reference

Go to the source code of this file.

Compounds

struct  CLIID
struct  XBINHEADER

Defines

#define XST_ELEMENT   0x00
#define XST_ATTRIBUTE   0x01
#define XST_EXTENDEDINT   0x02
#define XST_VALID   (XST_ELEMENT | XST_ATTRIBUTE | XST_EXTENDEDINT)
#define XT_END   0x00
#define XT_TABLE   0x01
#define XT_STRING   0x02
#define XT_CDATA   0x03
#define XT_UNKNOWN   0x04
#define XT_FIRST   0x08
#define XBIN_VERSION   1
#define EXTERN_C   extern
#define CL_STDMETHODIMP   bool
#define CL_STDMETHODIMP_(type)   type
#define interface   struct
#define CL_STDMETHOD(method)   bool ( * method)
#define CL_STDMETHOD_(type, method)   type ( * method)
#define PURE
#define THIS_   CL_INTERFACE *This,
#define THIS   CL_INTERFACE *This
#define CL_DECLARE_INTERFACE(iface)
#define CL_DECLARE_INTERFACE_(iface, baseiface)   CL_DECLARE_INTERFACE(iface)
#define CL_INTERFACE   IUnknownCL
#define CL_INTERFACE   IClassFactoryCL
#define CL_INTERFACE   IObjectWithSiteCL
#define CL_INTERFACE   ITokenTable
#define CL_INTERFACE   ITSAXContentHandler
#define CL_INTERFACE   IFilteredTSAXHandler
#define CL_INTERFACE   IDfaFilter
#define CL_INTERFACE   ITypeFilter
#define CL_INTERFACE   ISetHandler
#define CL_INTERFACE   IStream
#define CL_INTERFACE   IFileStream
#define CL_INTERFACE   IMemoryStream
#define CL_INTERFACE   IParse2TSAX
#define CL_INTERFACE   IBin2TSAX
#define CL_INTERFACE   ITSAX2Bin

Typedefs

typedef unsigned int XTOKEN
typedef unsigned int UINT
typedef * PXBINHEADER
typedef * PCLIID
typedef const CLIIDRCLIID
typedef unsigned long ULONG
typedef unsigned long DWORD
typedef int BOOL
typedef pair< char *, char *> STRPAIR

Functions

void InitGlobalTokenTable ()
void CleanupGlobalTokenTable ()
bool GetGlobalTokenTable (RCLIID riid, void **ppv)

Variables

const CLIID IID_IUnknownCL
const CLIID IID_IClassFactoryCL
const CLIID IID_IObjectWithSiteCL
const CLIID IID_ITokenTable
const CLIID IID_ITSAXContentHandler
const CLIID IID_IFilteredTSAXHandler
const CLIID IID_IDfaFilter
const CLIID IID_ITypeFilter
const CLIID IID_ISetHandler
const CLIID IID_IStream
const CLIID IID_IFileStream
const CLIID IID_IMemoryStream
const CLIID IID_IParse2TSAX
const CLIID IID_IBin2TSAX
const CLIID IID_ITSAX2Bin


Define Documentation

#define CL_DECLARE_INTERFACE iface   
 

Value:

typedef interface iface { \
                                    struct iface##Vtbl * lpVtbl; \
                                } iface; \
                                typedef struct iface##Vtbl iface##Vtbl; \
                                struct iface##Vtbl

Definition at line 105 of file xmltkobj.h.

#define CL_DECLARE_INTERFACE_ iface,
baseiface       CL_DECLARE_INTERFACE(iface)
 

Definition at line 112 of file xmltkobj.h.

#define CL_INTERFACE   ITSAX2Bin
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   IBin2TSAX
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   IParse2TSAX
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   IMemoryStream
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   IFileStream
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   IStream
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   ISetHandler
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   ITypeFilter
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   IDfaFilter
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   IFilteredTSAXHandler
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   ITSAXContentHandler
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   ITokenTable
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   IObjectWithSiteCL
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   IClassFactoryCL
 

Definition at line 494 of file xmltkobj.h.

#define CL_INTERFACE   IUnknownCL
 

Definition at line 494 of file xmltkobj.h.

#define CL_STDMETHOD method       bool ( * method)
 

Definition at line 92 of file xmltkobj.h.

Referenced by CL_DECLARE_INTERFACE_(), CL_INTERFACE(), IID_IClassFactoryCL(), IID_IDfaFilter(), IID_IFileStream(), IID_IFilteredTSAXHandler(), IID_IMemoryStream(), IID_IParse2TSAX(), IID_ISetHandler(), IID_IStream(), IID_ITSAXContentHandler(), IID_ITypeFilter(), IID_IUnknownCL(), and STRPAIR().

#define CL_STDMETHODIMP   bool
 

Definition at line 70 of file xmltkobj.h.

#define CL_STDMETHODIMP_ type       type
 

Definition at line 71 of file xmltkobj.h.

#define CL_STDMETHOD_ type,
method       type ( * method)
 

Definition at line 93 of file xmltkobj.h.

Referenced by CL_DECLARE_INTERFACE_(), CL_INTERFACE(), IID_IClassFactoryCL(), IID_IDfaFilter(), IID_IFileStream(), IID_IFilteredTSAXHandler(), IID_IMemoryStream(), IID_IParse2TSAX(), IID_ISetHandler(), IID_IStream(), IID_ITSAXContentHandler(), IID_ITypeFilter(), IID_IUnknownCL(), and STRPAIR().

#define EXTERN_C   extern
 

Definition at line 66 of file xmltkobj.h.

#define PURE
 

Definition at line 94 of file xmltkobj.h.

#define THIS   CL_INTERFACE *This
 

Definition at line 96 of file xmltkobj.h.

#define THIS_   CL_INTERFACE *This,
 

Definition at line 95 of file xmltkobj.h.

#define XBIN_VERSION   1
 

Definition at line 32 of file xmltkobj.h.

#define XST_ATTRIBUTE   0x01
 

Definition at line 14 of file xmltkobj.h.

#define XST_ELEMENT   0x00
 

Definition at line 13 of file xmltkobj.h.

#define XST_EXTENDEDINT   0x02
 

Definition at line 15 of file xmltkobj.h.

#define XST_VALID   (XST_ELEMENT | XST_ATTRIBUTE | XST_EXTENDEDINT)
 

Definition at line 16 of file xmltkobj.h.

#define XT_CDATA   0x03
 

Definition at line 21 of file xmltkobj.h.

#define XT_END   0x00
 

Definition at line 18 of file xmltkobj.h.

#define XT_FIRST   0x08
 

Definition at line 24 of file xmltkobj.h.

#define XT_STRING   0x02
 

Definition at line 20 of file xmltkobj.h.

#define XT_TABLE   0x01
 

Definition at line 19 of file xmltkobj.h.

#define XT_UNKNOWN   0x04
 

Definition at line 22 of file xmltkobj.h.

#define interface   struct
 

Definition at line 74 of file xmltkobj.h.


Typedef Documentation

typedef int BOOL
 

Definition at line 60 of file xmltkobj.h.

typedef unsigned long DWORD
 

Definition at line 59 of file xmltkobj.h.

typedef * PCLIID
 

typedef * PXBINHEADER
 

typedef const CLIID* RCLIID
 

Definition at line 53 of file xmltkobj.h.

typedef pair<char*, char*> STRPAIR
 

Definition at line 184 of file xmltkobj.h.

typedef unsigned int UINT
 

Definition at line 11 of file xmltkobj.h.

typedef unsigned long ULONG
 

Definition at line 58 of file xmltkobj.h.

typedef unsigned int XTOKEN
 

Definition at line 10 of file xmltkobj.h.


Function Documentation

void CleanupGlobalTokenTable  
 

Definition at line 223 of file tokentable.cpp.

00224 {
00225     if (g_ptt)
00226     {
00227         g_ptt->Release();
00228         g_ptt = NULL;
00229     }
00230 }

bool GetGlobalTokenTable RCLIID    riid,
void **    ppv
 

Definition at line 202 of file tokentable.cpp.

Referenced by STRPAIR().

00203 {
00204     if (g_ptt)
00205     {
00206         return g_ptt->QueryInterface(riid, ppv);
00207     }
00208 
00209     return false;
00210 }

void InitGlobalTokenTable  
 

Definition at line 212 of file tokentable.cpp.

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 }


Variable Documentation

const CLIID IID_IBin2TSAX [static]
 

Initial value:

 
{ 0x8fe5554, 0xa526, 0x4835, { 0xa5, 0xd8, 0x4e, 0xce, 0xeb, 0x21, 0xd5, 0x11 } }

Definition at line 489 of file xmltkobj.h.

const CLIID IID_IClassFactoryCL [static]
 

Initial value:

 
{ 0x95488ee9, 0x1269, 0x4cd1, { 0xa9, 0xa2, 0x6c, 0xfd, 0xcc, 0xbe, 0x56, 0xfe } }

Definition at line 155 of file xmltkobj.h.

const CLIID IID_IDfaFilter [static]
 

Initial value:

 
{ 0x8fe5554, 0xa526, 0x4835, { 0xa5, 0xd8, 0x4e, 0xce, 0xeb, 0x21, 0xd5, 0xc } }

Definition at line 305 of file xmltkobj.h.

const CLIID IID_IFileStream [static]
 

Initial value:

 
{ 0x8fe5554, 0xa526, 0x4835, { 0xa5, 0xd8, 0x4e, 0xce, 0xeb, 0x21, 0xd5, 0x10 } }

Definition at line 413 of file xmltkobj.h.

const CLIID IID_IFilteredTSAXHandler [static]
 

Initial value:

 
{ 0x8fe5554, 0xa526, 0x4835, { 0xa5, 0xd8, 0x4e, 0xce, 0xeb, 0x21, 0xd5, 0xd } }

Definition at line 276 of file xmltkobj.h.

const CLIID IID_IMemoryStream [static]
 

Initial value:

 
{ 0x8fe5554, 0xa526, 0x4835, { 0xa5, 0xd8, 0x4e, 0xce, 0xeb, 0x21, 0xd5, 0xe } }

Definition at line 446 of file xmltkobj.h.

const CLIID IID_IObjectWithSiteCL [static]
 

Initial value:

 
{ 0x7d5df326, 0x2e1e, 0x46fc, { 0xa9, 0x75, 0x3f, 0xf3, 0x1e, 0xaa, 0xfe, 0x6f } }

Definition at line 176 of file xmltkobj.h.

const CLIID IID_IParse2TSAX [static]
 

Initial value:

 
{ 0x8fe5554, 0xa526, 0x4835, { 0xa5, 0xd8, 0x4e, 0xce, 0xeb, 0x21, 0xd5, 0xb } }

Definition at line 467 of file xmltkobj.h.

const CLIID IID_ISetHandler [static]
 

Initial value:

 
{ 0x8fe4534, 0xa526, 0x4835, { 0xa5, 0xd8, 0x4e, 0xce, 0xeb, 0x21, 0xd5, 0xf } }

Definition at line 354 of file xmltkobj.h.

const CLIID IID_IStream [static]
 

Initial value:

 
{ 0x8fe5554, 0xa526, 0x4835, { 0xa5, 0xd8, 0x4e, 0xce, 0xeb, 0x21, 0xd5, 0xd } }

Definition at line 380 of file xmltkobj.h.

const CLIID IID_ITSAX2Bin [static]
 

Initial value:

 
{ 0x8fe5554, 0xa526, 0x4835, { 0xa5, 0xd8, 0x4e, 0xce, 0xeb, 0x21, 0xd5, 0xf } }

Definition at line 518 of file xmltkobj.h.

const CLIID IID_ITSAXContentHandler [static]
 

Initial value:

 
{ 0x6c25ae7a, 0x1e37, 0x46ea, { 0xa2, 0xfc, 0x68, 0x72, 0xe5, 0xcc, 0x45, 0xb8 } }

Definition at line 242 of file xmltkobj.h.

const CLIID IID_ITokenTable [static]
 

Initial value:

 
{ 0xe71fced6, 0xe2f5, 0x49a2, { 0x91, 0x91, 0x63, 0x1, 0x55, 0xb9, 0x4c, 0xf4 } }

Definition at line 207 of file xmltkobj.h.

const CLIID IID_ITypeFilter [static]
 

Initial value:

 
{ 0x808ea8e8, 0x4db3, 0x4729, { 0x9d, 0xdd, 0x11, 0xbc, 0xbc, 0xe9, 0xa0, 0x46 } }

Definition at line 336 of file xmltkobj.h.

const CLIID IID_IUnknownCL [static]
 

Initial value:

 
{ 0xa1d3a5ff, 0xa5bc, 0x46e7, { 0x91, 0x16, 0x22, 0xcf, 0x75, 0xbb, 0xbd, 0xe4 } }

Definition at line 137 of file xmltkobj.h.


Generated on Sat Dec 22 16:01:56 2001 for XMILLforBinaryFormat by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001