#include <general_tree.hh>
Public Types | |
|
typedef std::iterator< std::forward_iterator_tag, TItem >::difference_type | difference_type |
| Imports difference type. | |
|
typedef std::iterator< std::forward_iterator_tag, TItem >::iterator_category | iterator_category |
| Imports category tag type. | |
|
typedef std::iterator< std::forward_iterator_tag, TItem >::pointer | pointer |
| Imports pointer type. | |
|
typedef std::iterator< std::forward_iterator_tag, TItem >::reference | reference |
| Imports reference type. | |
|
typedef std::iterator< std::forward_iterator_tag, TItem >::value_type | value_type |
| Imports value type. | |
Public Methods | |
| TGeneralTreePreIterator (void) | |
| Builds a new instance pointing to 'past the end'. | |
| TGeneralTreePreIterator (const TTreeNode< TItem, TAllocator > *pktNODE) | |
| TGeneralTreePreIterator (const TGeneralTreeSideIterator< TItem, TAllocator > &rktSIDE_ITERATOR) | |
| TGeneralTreePreIterator & | operator++ (void) throw (TConstraintException) |
| TGeneralTreePreIterator | operator++ (int) |
| TGeneralTreePreIterator & | operator= (const TGeneralTreePreIterator< TItem, TAllocator > &rktPRE_ITERATOR) |
| TGeneralTreePreIterator & | operator= (const TGeneralTreeSideIterator< TItem, TAllocator > &rktSIDE_ITERATOR) |
| TGeneralTreePreIterator | leftChild (void) const |
| bool | operator== (const TGeneralTreeSideIterator< TItem, TAllocator > &rktSIDE_ITERATOR) const |
| bool | operator!= (const TGeneralTreeSideIterator< TItem, TAllocator > &rktSIDE_ITERATOR) const |
| TGeneralTreePreIterator | rightSibling (void) const |
Friends | |
| class | TGeneralTree |
| Friend class. | |
| class | TGeneralTreeSideIterator |
| Friend class. | |
Definition at line 282 of file general_tree.hh.
|
||||||||||
|
Builds a new instance pointing to rtNODE.
Definition at line 346 of file general_tree.hh. |
|
||||||||||
|
Builds a new instance pointing to the same location that the iterator rktSIDE_ITERATOR points to.
Definition at line 355 of file general_tree.hh. |
|
||||||||||
|
Returns a tree pre-iterator pointing to the left child node.
Definition at line 417 of file general_tree.hh. References mpcl::util::collection::TTreeNode< TItem, TAllocator >::qtFirstChildNode, and mpcl::util::collection::TGeneralTreePreIterator< TItem, TAllocator >::TGeneralTreePreIterator(). |
|
||||||||||
|
Tests if iterator rktSIDE_ITERATOR does not point to the same position that this instance.
Definition at line 458 of file general_tree.hh. References mpcl::util::collection::TGeneralTreeSideIterator< TItem, TAllocator >::ptCurrentNode. |
|
||||||||||
|
Post-increments the iterator position to the next position. The position follows a pre-order iteration.
Definition at line 373 of file general_tree.hh. References mpcl::util::collection::TGeneralTreePreIterator< TItem, TAllocator >::operator++(). |
|
||||||||||
|
Post-increments the iterator position to the next position. The position follows a pre-order iteration.
Definition at line 1478 of file general_tree.hh. Referenced by mpcl::util::collection::TGeneralTreePreIterator< TItem, TAllocator >::operator++(). |
|
||||||||||
|
Copies the position pointed by rktSIDE_ITERATOR.
Definition at line 399 of file general_tree.hh. References mpcl::util::collection::TGeneralTreeSideIterator< TItem, TAllocator >::ptCurrentNode. |
|
||||||||||
|
Copies the position pointed by rktPRE_ITERATOR.
Definition at line 387 of file general_tree.hh. References mpcl::util::collection::TGeneralTreePreIterator< TItem, TAllocator >::ptCurrentNode. |
|
||||||||||
|
Tests if iterator rktSIDE_ITERATOR points to the same position that this instance.
Definition at line 447 of file general_tree.hh. References mpcl::util::collection::TGeneralTreeSideIterator< TItem, TAllocator >::ptCurrentNode. |
|
||||||||||
|
Returns a tree pre iterator pointing to the right sibling node.
Definition at line 478 of file general_tree.hh. References mpcl::util::collection::TTreeNode< TItem, TAllocator >::qtRightNode, and mpcl::util::collection::TGeneralTreePreIterator< TItem, TAllocator >::TGeneralTreePreIterator(). |
1.2.18