Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXMLNode::childAt ( P6UINT32  index,
p6IXMLNode **  pChild 
)
pure virtual

This method allows array style access to the children of the current node.

childAt( 3, &pChild ) is similar to the syntax of: pChild = childAt[3]. Note the index starts at zero (not one).

Parameters
index[ in ] Array index to node children, {0 .. n-1}
pChild[ out ] Returns a pointer to the child node, can be used for tree walking.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgOne of the parameters is NULL.
P6R::eEndOfRecordNo children at index specified.