|
virtual P6R::P6ERR P6R::p6IDOMXML::initialize |
( |
P6DOMXMLFLAGS |
flags, |
|
|
p6IDataStream * |
pErrorResult | |
|
) |
| | [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. |
| pErrorResult | [IN] Created by the caller, any errors found during parsing are returned to this stream. |
- Returns:
Success | P6R::eOk | |
Failure | P6R::eNoMemory | Insuffficient memory to properly initialize the component |
P6R::eInvalidArg | pErrorResult is NULL. |
P6R::eNotSupported | flags value: P6DOMXML_USEJSON cannot be set with P6DOMXML_USERPARSER |
P6R::eAlreadyInitialized | Can only be called once successfully. |
|