virtual P6R::P6ERR P6R::p6IXMLNode::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.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.