Provides script language access to C++ objects of this type.
Class Hierarchy | Type » NodeQuery |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | AttachNode | Attaches a document <Node> to this object so it can be queried. |
int32 | AttachSelection | Attaches the selection buffer to this object so it can be queried. |
int32 | Clear | Clears this object's internal data members and resets them to constructor defaults. |
int32 | FindIndices | Populates 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. |
int32 | Flatten | Traverses 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> | GetBuffer | Returns a pointer to the destination <NodeBuffer> that stores the results of queries performed on the source <NodeBuffer>. |
<NodeBuffer> | GetDstBuffer | Returns a pointer to the destination <NodeBuffer> that stores the results of queries performed on the source <NodeBuffer>. |
<Node> | GetLinkByClass | Iterates the source <NodeBuffer> and returns a pointer to the first <NodeLink> object whose .CLASS parameter matches the specified value. |
<Node> | GetLinkByID | Iterates the source <NodeBuffer> and returns a pointer to the first <NodeLink> object whose .ID parameter matches the specified value. |
<Node> | GetLinkByName | Iterates the source <NodeBuffer> and returns a pointer to the first <NodeLink> object whose target <Node> object's .NAME parameter matches the specified value. |
<Node> | GetLinkByParentType | Iterates the source <NodeBuffer> and returns a pointer to the first <NodeLink> object whose parent <Node> object's type matches the specified type. |
<Node> | GetLinkByType | Iterates the source <NodeBuffer> and returns a pointer to the first <NodeLink> object whose .NODETYPE value matches the specified type. |
<Node> | GetNodeByChildCount | Iterates the source <NodeBuffer> and returns a pointer to the first <Node> whose child count matches the specified value. |
<Node> | GetNodeByChildHeterogeneity | Iterates the source <NodeBuffer> and returns a pointer to the first <Node> whose child <Node> objects are of more than one type. |
<Node> | GetNodeByChildHomegeneity | Iterates the source <NodeBuffer> and returns a pointer to the first <Node> whose child <Node> objects are of a single type. |
<Node> | GetNodeByClass | Iterates the source <NodeBuffer> and returns a pointer to the first <Node> whose .CLASS parameter matches the specified value. |
<Node> | GetNodeByID | Iterates the source <NodeBuffer> and returns a pointer to the first <Node> whose .ID parameter matches the specified value. |
<Node> | GetNodeByMaxChildCount | Iterates the source <NodeBuffer> and returns a pointer to the first <Node> whose child count is less than or equal to the specified value. |
<Node> | GetNodeByMinChildCount | Iterates the source <NodeBuffer> and returns a pointer to the first <Node> whose child count is greater than or equal to the specified value. |
<Node> | GetNodeByName | Iterates the source <NodeBuffer> and returns a pointer to the first <Node> whose .NAME parameter matches the specified value. |
<Node> | GetNodeByParentType | Iterates the source <NodeBuffer> and returns a pointer to the first <Node> whose parent <Node> object's type matches the specified type. |
<Node> | GetNodeByType | Iterates the source <NodeBuffer> and returns a pointer to the first <Node> whose type matches the specified type. |
<NodeBuffer> | GetReduced | Gets or sets a pointer to the <NodeBuffer> that stores the result of certain queries whose result contains more than a single <Node>. |
int32 | GetSelection | Populates this object's source <NodeBuffer> with any selected items that match the specified type. |
<NodeBuffer> | GetSrcBuffer | Gets or sets a pointer to the <NodeBuffer> that stores the set of <Node> objects to query. |
int32 | QueryChildren | Queries 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. |
int32 | QueryNode | 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 | QueryNodes | 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. |
int32 | ReduceByChildCount | Populates the destination <NodeBuffer> with <Node> objects whose child count matches the specified value. |
int32 | ReduceByChildHeterogeneity | Populates the destination <NodeBuffer> with <Node> objects who have child <Node> objects of more than 1 type. |
int32 | ReduceByChildHomogeneity | Populates the destination <NodeBuffer> with <Node> objects whose child are all of the specified type. |
int32 | ReduceByChildIndex | Populates the destination <NodeBuffer> with <Node> objects whose child index matches the specified value. |
int32 | ReduceByClass | Populates the destination <NodeBuffer> with <Node> objects whose .CLASS matches the specified value. |
int32 | ReduceByID | Populates the destination <NodeBuffer> with <Node> objects whose .ID matches the specified value. |
int32 | ReduceByIndex | Populates the destination <NodeBuffer> with <Node> objects whose child indices match the specified indices. |
int32 | ReduceByMaxChildCount | Populates the destination <NodeBuffer> with <Node> objects whose child count is less than or equal to the specified value. |
int32 | ReduceByMinChildCount | Populates the destination <NodeBuffer> with <Node> objects whose child count is greater than or equal to the specified value. |
int32 | ReduceByName | Populates the destination <NodeBuffer> with <Node> objects whose .NAME matches the specified value. |
int32 | ReduceByParentType | Populates the destination <NodeBuffer> with <Node> objects whose parent type matches the specified value. |
int32 | ReduceByType | Populates the destination <NodeBuffer> with <Node> objects that match the specified type. |
int32 | SeekLinkType | Populates the <NodeBuffer> with <NodeLink> objects whose target <Node> matches the specified type. |
int32 | SeekLinkTypes | Populates the <NodeBuffer> with <NodeLink> objects whose target <Node> matches the specified types. |
int32 | SeekNode | Searches the <Node> and selection buffer attached to this <NodeBuffer> in order to populate the destination <NodeBuffer> with <Node> objects of the specified type. |
int32 | SeekNodes | Searches the <Node> and selection buffer attached to this <NodeBuffer> in order to populate the destination <NodeBuffer> with <Node> objects of the specified types. |
int32 | SeekSibling | Searches the <Node> attached to this <NodeBuffer> for any sibling <Node> objects of the specified type. |
int32 | SeekSiblings | Searches the <Node> attached to this <NodeBuffer> for any sibling <Node> objects of the specified type. |
int32 | SetBuffer | Deprecated. Prefer .SetSrcBuffer instead. |
int32 | SetDstBuffer | Attaches a destination <NodeBuffer> object to this NodeQuery object. The destination <NodeBuffer> stores the results of queries performed with the reduce functions documented herein. |
int32 | SetReduced | Deprecated. Prefer .SetDstBuffer instead. |
int32 | SetSrcBuffer | Attaches a source <NodeBuffer> object to this NodeQuery object. The source <NodeBuffer> stores the <Node> objects that serve as the query data sources. |