virtual P6R::P6ERR P6R::p6IXMLNode::isChild ( const P6WCHAR *  pName,
P6UINT32  nameLength,
P6UINT32  instance,
p6IXMLNode **  pExist,
P6BOOL *  pResult 
) [pure virtual]

There there a child of this XML node with the name of the value in the pName parameter.

If the child is found return a pointer to it in pExist. Since an XML node can have children with the same name the 'instance' parameter is provided. The instance parameter allows the caller to specify which child to look for.

Parameters:
pName [IN] Looking for a child node with this name
nameLength [IN] Number of characters in pName
instance [IN] An index from {1 to N}, allows the caller to search for the nth child with the same name.
pExist [OUT] Pointer to child node if found
pResult [OUT] P6TRUE if child found, P6FALSE otherwise
Returns:
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgOne of the parameters is NULL.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.