Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IJSONReader::initialize ( P6JSONFLAGS  flags,
P6UINT32  streamBufSize 
)
pure virtual

Sets up the component to run properly.

Parameters
flags[ in ] Set perferences for the new object. These preferences are fixed during the lifetime of the object.
streamBufSize[ in ] To support the streaming IO model of this API, the size of an internal buffer used in streaming can be set with this parameter. If this parameter is set to zero, then the default value of 2000 characters is used. If the size is set too small then an "eTooSmall" error can be returned by the JSON parser to a content handler.
Returns
SuccessP6R::eOk 
FailureP6R::eNoMemoryInsuffficient memory to properly initialize the component
P6R::eAlreadyInitializedCan only be called once successfully.