Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXMLNode2::initialize ( P6XMLNODEFLAGS  flags,
P6XMLNodeType  type,
P6BOOL  bDynamic,
P6UINT32  nodeId 
)
pure virtual

Sets up the component to run properly.

Nodes that are created with the following types: { P6XML_DYNAMICLEAF, P6XML_DYNAMICNONLEAF, P6XML_DYNAMICCHARS } have a special feature. When these nodes are freed all their children are also automatically freed.

Parameters
flags[ in ] Set perferences for the new object. These preferences are fixed during the lifetime of the object.
type[ in ] The purpose of this node (e.g., does it hold an attribute, or just characters of the document)
bDynamic[ in ] Has the node been created directly via a p6CreateInstance call.
nodeId[ in ] A unique numeric id for the node
Returns
SuccessP6R::eOk 
FailureP6R::eNoMemoryInsuffficient memory to properly initialize the component
P6R::eAlreadyInitializedCan only be called once successfully.