Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6jsonlocator.h
Go to the documentation of this file.
1 
10 #ifndef P6JSONLocator_H__
11 #define P6JSONLocator_H__ 1
12 
13 #include "p6err.h"
14 #include "p6jsontypes.h"
15 
16 
17 #ifdef __cplusplus
18 namespace P6R {
19 extern "C" {
20 #endif
21 
31 #undef INTERFACE
32 #define INTERFACE p6IJSONLocator
34 {
50  P6DECLCOMMETHOD(getColumnNumber)(P6THIS_ P6UINT32* pNumber ) P6PURE;
51 
66  P6DECLCOMMETHOD(getLineNumber)(P6THIS_ P6UINT32* pNumber ) P6PURE;
67 
87  P6DECLCOMMETHOD(convertToWideString)(P6THIS_ P6JSONSTRING* pJstring, P6WCHAR* pOut, P6UINT32* pLength ) P6PURE;
88 };
89 
90 // {BCE34697-9C40-4ec5-9432-81B8D8611EC9}
91 #define IF_p6IJSONLocator {0xbce34697,0x9c40,0x4ec5,{0x94,0x32,0x81,0xb8,0xd8,0x61,0x1e,0xc9}}
92 
93 #ifdef __cplusplus
94 }
95 } // namespace
96 #endif
97 
98 
99 #endif
100 
101 
102 
103 
104 
105 
106 
107 
108 
uint32_t P6UINT32
Definition: p6types.h:77
#define P6PURE
Definition: p6defs.h:192
Standard error codes.
An instance of this component is passed to the application in 2 ways: a) Via the setDocumentLocator()...
Definition: p6jsonlocator.h:33
wchar_t P6WCHAR
Wide character type see p6i18n.h.
Definition: p6types.h:111
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
This is the interface structure used to point to tokens inside the JSON document being parsed...
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
To avoid having to copy strings or creating new strings we simply point into a set of buffers the sta...
Definition: p6jsontypes.h:32
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188