#include <StiKTNIterator.h>
Inherited by StiKTNForwardIterator.
Public Member Functions | |
| StiKTNIterator (KTN_t *leaf=0, int dir=0) | |
| ctr-dstr | |
| StiKTNIterator (KTN_t &leaf, int dir=0) | |
| StiKTNIterator | begin () |
| StiKTNIterator | rbegin () |
| bool | operator== (const StiKTNIterator &rhs) const |
| equality: | |
| bool | operator!= (const StiKTNIterator &rhs) const |
| inequlity | |
| KTN_t & | operator* () |
| KTN_t * | operator() () |
| StiKTNIterator & | operator++ () |
| prefix | |
| StiKTNIterator | operator++ (int) |
| postfix | |
| StiKTNIterator & | operator-- () |
| prefix | |
| StiKTNIterator | operator-- (int) |
| postfix | |
Static Public Member Functions | |
| static const StiKTNIterator & | end () |
| We demarcate the end of the traversal via a singular iterator. | |
| static const StiKTNIterator & | rend () |
| static StiKTNIterator | begin (KTN_t *fist) |
| static StiKTNIterator | rbegin (KTN_t *last) |
Singularity (i.e., 'end') is represented by setting mNode=0.
StiKTNIterator is a non-virtual class.
Definition at line 25 of file StiKTNIterator.h.
| StiKTNIterator StiKTNIterator::operator++ | ( | int | ) | [inline] |
postfix
In the case where the prefix operator increments beyond the root of the tree, the pointer to mNode is set to 0. This demarcates the end of the traversal.
Definition at line 115 of file StiKTNIterator.h.
| StiKTNIterator & StiKTNIterator::operator++ | ( | ) | [inline] |
prefix
In the case where the prefix operator increments beyond the last leaf of the tree, the pointer to mNode is set to -. This demarcates the end of traversal.
Definition at line 126 of file StiKTNIterator.h.
References StiTreeNode::getNextNode().
| StiKTNIterator StiKTNIterator::operator-- | ( | int | ) | [inline] |
postfix
In the case where the prefix operator increments beyond the root of the tree, the pointer to mNode is set to 0. This demarcates the end of the traversal.
Definition at line 145 of file StiKTNIterator.h.
| StiKTNIterator & StiKTNIterator::operator-- | ( | ) | [inline] |
prefix
In the case where the prefix operator increments beyond the root of the tree, the pointer to mNode is set to 0. This demarcates the end of the traversal.
Definition at line 102 of file StiKTNIterator.h.
1.5.9