Performs a breadth-first search and populates the specified <NodeBuffer> with any <Node> objects (including the root) that match the specified type information. Unlike .QueryChildren, this function exhaustively traverses all <Node> objects and child lists.
int32 QueryNode( Node p_oRoot, NodeBuffer p_oBuffer, TypeInformation p_oTypeInfo )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Node> | p_oRoot | The root <Node> for the query. |
<NodeBuffer> | p_oBuffer | A pointer to the <NodeBuffer> in which you wish to store the results of the query. |
TypeInformation | p_oTypeInfo | A <TypeInformation> pointer that specifies the <Node> type for the query. |
None published. Please look for an example in the Scenome Scripting Language code base.