QueryNodes Data Member Function

Performs a breadth-first search and populates the specified <NodeBuffer> with any <Node> objects (including the root) that match any of type information values in the specified <TypeInfoArray>. Unlike .QueryChildren, this function exhaustively traverses all <Node> objects and child lists.

Prototype

int32 QueryNodes( Node p_oRoot, NodeBuffer p_oBuffer, TypeInfoArray p_aoTypeInfo )

Parameters

Parameter Type Parameter Name Documentation
<Node>p_oRootThe root <Node> for the query.
<NodeBuffer>p_oBufferA pointer to the <NodeBuffer> in which you wish to store the results of the query.
<TypeInfoArray>p_aoTypeInfoAn array of <TypeInformation> pointers that specifies the <Node> types for the query.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.