QueryNode Data Member Function

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.

Prototype

int32 QueryNode( Node p_oRoot, NodeBuffer p_oBuffer, TypeInformation p_oTypeInfo )

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.
TypeInformationp_oTypeInfoA <TypeInformation> pointer that specifies the <Node> type for the query.

Examples

Copy Text To Clipboard

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