Developer's Guide
Guide
Modules
Index
Files
v2017.1.19000
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
p6jsonreader.h
Go to the documentation of this file.
1
12
#ifndef P6JSONREADER_H__
13
#define P6JSONREADER_H__ 1
14
15
#include "
p6err.h
"
16
#include "
p6jsonerrorhandler.h
"
17
#include "
p6jsoncontenthandler.h
"
18
19
20
#ifdef __cplusplus
21
namespace
P6R {
22
extern
"C"
{
23
#endif
24
34
typedef
P6UINT32
P6JSONFLAGS
;
35
static
const
P6JSONFLAGS P6JSON_NOFLAGS = 0x00000000;
36
static
const
P6JSONFLAGS P6JSON_TRACEON = 0x00000001;
37
38
74
#undef INTERFACE
75
#define INTERFACE p6IJSONReader
76
P6DECLAREIF_
(
p6IJSONReader
,
p6ICom
)
77
{
92
P6DECLCOMMETHOD
(initialize)(
P6THIS_
P6JSONFLAGS flags,
P6UINT32
streamBufSize )
P6PURE
;
93
106
P6DECLCOMMETHOD
(getContentHandler)(
P6THIS_
p6IJSONContentHandler
** pObject )
P6PURE
;
107
118
P6DECLCOMMETHOD
(getErrorHandler)(
P6THIS_
p6IJSONErrorHandler
** pObject )
P6PURE
;
119
130
P6DECLCOMMETHOD
(setContentHandler)(
P6THIS_
p6IJSONContentHandler
* pObject )
P6PURE
;
131
140
P6DECLCOMMETHOD
(setErrorHandler)(
P6THIS_
p6IJSONErrorHandler
* pObject )
P6PURE
;
141
152
P6DECLCOMMETHOD
(releaseAllHandlers)(
P6THIS
)
P6PURE
;
153
};
154
155
// {34E460B3-4A49-49a4-8A1A-3E75FE28B1C1}
156
#define IF_p6IJSONReader {0x34e460b3,0x4a49,0x49a4,{0x8a,0x1a,0x3e,0x75,0xfe,0x28,0xb1,0xc1}}
157
158
// {90E09EA2-0158-40fe-A34E-E8CB199AB2D2}
159
#define COMP_p6JSONReader {0x90e09ea2,0x158,0x40fe,{0xa3,0x4e,0xe8,0xcb,0x19,0x9a,0xb2,0xd2}}
160
161
#ifdef __cplusplus
162
}
163
}
// namespace
164
#endif
165
166
167
#endif
168
169
170
171
172
173
P6R::P6UINT32
uint32_t P6UINT32
Definition:
p6types.h:77
P6R::p6IJSONContentHandler
This interface is implemented by an application to handle the parsing events that are generated by th...
Definition:
p6jsoncontenthandler.h:60
P6PURE
#define P6PURE
Definition:
p6defs.h:192
p6err.h
Standard error codes.
p6jsoncontenthandler.h
This interface is implemented by the application making use of the p6json component.
p6jsonerrorhandler.h
This interface defines the methods than an application is notified of JSON errors during the parsing ...
P6R::p6IJSONReader
This is the main JSON interface.
Definition:
p6jsonreader.h:76
P6R::p6ICom
The base interface all [p6]COM components must derive from and implement.
Definition:
p6comdef.h:97
P6DECLCOMMETHOD
#define P6DECLCOMMETHOD(method)
Definition:
p6defs.h:189
P6THIS_
#define P6THIS_
Definition:
p6defs.h:193
P6R::P6JSONFLAGS
P6UINT32 P6JSONFLAGS
P6JSONFLAGS.
Definition:
p6jsonreader.h:34
P6THIS
#define P6THIS
Definition:
p6defs.h:194
P6R::p6IJSONErrorHandler
This interface is implemented by an application and is used to handle error information generated by ...
Definition:
p6jsonerrorhandler.h:33
P6DECLAREIF_
#define P6DECLAREIF_(iface, baseif)
Definition:
p6defs.h:188
current
WINNT6.1_x86_OPT_64bit_vs2010.OBJ
intermediate
skc
src
p6jsonreader.h
© 2004 - 2014 P6R Inc. - All Rights Reserved.