Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6sax2locator.h
Go to the documentation of this file.
1 
10 #ifndef P6SAX2Locator_H__
11 #define P6SAX2Locator_H__ 1
12 
13 #include "p6err.h"
14 #include "p6comdef.h"
15 #include "p6sax2types.h"
16 
17 
18 #ifdef __cplusplus
19 namespace P6R {
20 extern "C" {
21 #endif
22 
33 #undef INTERFACE
34 #define INTERFACE p6ISAX2Locator
36 {
52  P6DECLCOMMETHOD(getColumnNumber)(P6THIS_ P6UINT32* pNumber ) P6PURE;
53 
70  P6DECLCOMMETHOD(getLineNumber)(P6THIS_ P6UINT32* pNumber ) P6PURE;
71 
83  P6DECLCOMMETHOD(getPublicId)(P6THIS_ const P6CHAR** pPublicId ) P6PURE;
84 
96  P6DECLCOMMETHOD(getSystemId)(P6THIS_ const P6CHAR** pSystemId ) P6PURE;
97 
113  P6DECLCOMMETHOD(nameSpaceInScope)(P6THIS_ P6SAX2STRING* pPrefix,
114  P6SAX2STRING* pNameSpaceURI ) P6PURE;
115 };
116 
117 // {C0F4BDC1-F09E-497a-BD27-FCB28C8C766A}
118 #define IF_p6ISAX2Locator {0xc0f4bdc1,0xf09e,0x497a,{0xbd,0x27,0xfc,0xb2,0x8c,0x8c,0x76,0x6a}}
119 
120 #ifdef __cplusplus
121 }
122 } // namespace
123 #endif
124 
125 
126 #endif
127 
128 
129 
130 
131 
132 
133 
134 
This is the standard structure used to point to tokens inside the XML document being parsed...
uint32_t P6UINT32
Definition: p6types.h:77
#define P6PURE
Definition: p6defs.h:192
Standard error codes.
This is a standard SAX2 interface which is implemented by P6R's XML parser.
Definition: p6sax2locator.h:35
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
P6COM base interface definitions.
To avoid having to copy strings or creating new strings we simply point into a set of buffers the sta...
Definition: p6sax2types.h:34
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
char P6CHAR
Narrow character type.
Definition: p6types.h:105
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188