<NodeQuery> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » NodeQuery

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32AttachNodeAttaches a document <Node> to this object so it can be queried.
int32AttachSelectionAttaches the selection buffer to this object so it can be queried.
int32ClearClears this object's internal data members and resets them to constructor defaults.
int32FindIndicesPopulates an <Int32Array> with indices of <Node> objects or subclasses that match the specified <TypeInformation>. The query is performed by iterating this object's internal <NodeBuffer> pointer.
int32FlattenTraverses each <Node> in the source <NodeBuffer> and performs a breadth-first search to find all nested child <Node> objects. Populates the destination <NodeBuffer> with non-owning pointers to these <Node> objects.
<NodeBuffer>GetBufferReturns a pointer to the destination <NodeBuffer> that stores the results of queries performed on the source <NodeBuffer>.
<NodeBuffer>GetDstBufferReturns a pointer to the destination <NodeBuffer> that stores the results of queries performed on the source <NodeBuffer>.
<Node>GetLinkByClassIterates the source <NodeBuffer> and returns a pointer to the first <NodeLink> object whose .CLASS parameter matches the specified value.
<Node>GetLinkByIDIterates the source <NodeBuffer> and returns a pointer to the first <NodeLink> object whose .ID parameter matches the specified value.
<Node>GetLinkByNameIterates the source <NodeBuffer> and returns a pointer to the first <NodeLink> object whose target <Node> object's .NAME parameter matches the specified value.
<Node>GetLinkByParentTypeIterates the source <NodeBuffer> and returns a pointer to the first <NodeLink> object whose parent <Node> object's type matches the specified type.
<Node>GetLinkByTypeIterates the source <NodeBuffer> and returns a pointer to the first <NodeLink> object whose .NODETYPE value matches the specified type.
<Node>GetNodeByChildCountIterates the source <NodeBuffer> and returns a pointer to the first <Node> whose child count matches the specified value.
<Node>GetNodeByChildHeterogeneityIterates the source <NodeBuffer> and returns a pointer to the first <Node> whose child <Node> objects are of more than one type.
<Node>GetNodeByChildHomegeneityIterates the source <NodeBuffer> and returns a pointer to the first <Node> whose child <Node> objects are of a single type.
<Node>GetNodeByClassIterates the source <NodeBuffer> and returns a pointer to the first <Node> whose .CLASS parameter matches the specified value.
<Node>GetNodeByIDIterates the source <NodeBuffer> and returns a pointer to the first <Node> whose .ID parameter matches the specified value.
<Node>GetNodeByMaxChildCountIterates the source <NodeBuffer> and returns a pointer to the first <Node> whose child count is less than or equal to the specified value.
<Node>GetNodeByMinChildCountIterates the source <NodeBuffer> and returns a pointer to the first <Node> whose child count is greater than or equal to the specified value.
<Node>GetNodeByNameIterates the source <NodeBuffer> and returns a pointer to the first <Node> whose .NAME parameter matches the specified value.
<Node>GetNodeByParentTypeIterates the source <NodeBuffer> and returns a pointer to the first <Node> whose parent <Node> object's type matches the specified type.
<Node>GetNodeByTypeIterates the source <NodeBuffer> and returns a pointer to the first <Node> whose type matches the specified type.
<NodeBuffer>GetReducedGets or sets a pointer to the <NodeBuffer> that stores the result of certain queries whose result contains more than a single <Node>.
int32GetSelectionPopulates this object's source <NodeBuffer> with any selected items that match the specified type.
<NodeBuffer>GetSrcBufferGets or sets a pointer to the <NodeBuffer> that stores the set of <Node> objects to query.
int32QueryChildrenQueries a <Node> object's child list, but does not perform any additional searches if the child <Node> objects have their own children. See .QueryNode for exhaustive, depth-first query.
int32QueryNodePerforms 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.
int32QueryNodesPerforms 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.
int32ReduceByChildCountPopulates the destination <NodeBuffer> with <Node> objects whose child count matches the specified value.
int32ReduceByChildHeterogeneityPopulates the destination <NodeBuffer> with <Node> objects who have child <Node> objects of more than 1 type.
int32ReduceByChildHomogeneityPopulates the destination <NodeBuffer> with <Node> objects whose child are all of the specified type.
int32ReduceByChildIndexPopulates the destination <NodeBuffer> with <Node> objects whose child index matches the specified value.
int32ReduceByClassPopulates the destination <NodeBuffer> with <Node> objects whose .CLASS matches the specified value.
int32ReduceByIDPopulates the destination <NodeBuffer> with <Node> objects whose .ID matches the specified value.
int32ReduceByIndexPopulates the destination <NodeBuffer> with <Node> objects whose child indices match the specified indices.
int32ReduceByMaxChildCountPopulates the destination <NodeBuffer> with <Node> objects whose child count is less than or equal to the specified value.
int32ReduceByMinChildCountPopulates the destination <NodeBuffer> with <Node> objects whose child count is greater than or equal to the specified value.
int32ReduceByNamePopulates the destination <NodeBuffer> with <Node> objects whose .NAME matches the specified value.
int32ReduceByParentTypePopulates the destination <NodeBuffer> with <Node> objects whose parent type matches the specified value.
int32ReduceByTypePopulates the destination <NodeBuffer> with <Node> objects that match the specified type.
int32SeekLinkTypePopulates the <NodeBuffer> with <NodeLink> objects whose target <Node> matches the specified type.
int32SeekLinkTypesPopulates the <NodeBuffer> with <NodeLink> objects whose target <Node> matches the specified types.
int32SeekNodeSearches the <Node> and selection buffer attached to this <NodeBuffer> in order to populate the destination <NodeBuffer> with <Node> objects of the specified type.
int32SeekNodesSearches the <Node> and selection buffer attached to this <NodeBuffer> in order to populate the destination <NodeBuffer> with <Node> objects of the specified types.
int32SeekSiblingSearches the <Node> attached to this <NodeBuffer> for any sibling <Node> objects of the specified type.
int32SeekSiblingsSearches the <Node> attached to this <NodeBuffer> for any sibling <Node> objects of the specified type.
int32SetBufferDeprecated. Prefer .SetSrcBuffer instead.
int32SetDstBufferAttaches a destination <NodeBuffer> object to this NodeQuery object. The destination <NodeBuffer> stores the results of queries performed with the reduce functions documented herein.
int32SetReducedDeprecated. Prefer .SetDstBuffer instead.
int32SetSrcBufferAttaches a source <NodeBuffer> object to this NodeQuery object. The source <NodeBuffer> stores the <Node> objects that serve as the query data sources.