An LVParseTree::ChildrenIterator Object traverses the immediate children of a rule node, from left to right. You get a ChildrenIterator object from a Node by calling
LVParseTree::Node::ChildrenBegin( )
and
LVParseTree::Node::ChildrenEnd( )
Use <LVSpeechPort.h> or <LV_SRE_ParseTree.h>
|
Return Type |
Function |
Description |
|
|
|
|
|
|
Iterator(void) |
Constructs a blank ChildrenIterator; its not pointing over anything. |
|
|
Iterator(const ChildrenIterator& other) |
Copy constructor. |
|
LVParseTree::ChildrenIterator& |
operator=(const ChildrenIterator& other) |
Assignment operator. |
|
|
~ChildrenIterator(void) |
Destructor. |
|
|
|
|
|
LVParseTree::ChildrenIterator& |
operator ++ (void) |
pre-increments the iterator (++itr). |
|
LVParseTree::ChildrenIterator |
operator ++ (int) |
post-increments the iterator (itr++). |
|
const LVParseTree::Node* |
operator -> (void) |
provides pointer-like access to the node the iterator is currently over |
|
const LVParseTree::Node& |
operator * (void) |
provides access to the node the iterator is currently over |
|
bool |
operator==(const ChildrenIterator& other) |
Tests equality with another ChildrenIterator. Two ChildrenIterators are equal if they are pointing to the same node in the same tree. |
|
bool |
operator!=(const ChildrenIterator& other) |
returns true if and only if the equality operator returns false. |
|
|
|
|
Complete Help Topic List | Speech Engine Product Information