virtual P6R::P6ERR P6R::p6IXMLNode::attributeAt ( P6UINT32  index,
P6GenericAttrib pAttrib 
) [pure virtual]

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

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

Parameters:
index [IN] Array index to the node's attributes, {0 .. n-1}
pAttrib [OUT] Returns a pointer to an attribute node
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 attributes at index specified.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.