TerraLib 4.1
TeViewTreeIterator Class Reference

#include <TeViewTreeIterator.h>

List of all members.

Classes

struct  StackElem

Public Member Functions

 TeViewTreeIterator (TeViewTree *root)
void first ()
void firstLeaf ()
void next ()
void nextLeaf ()
void skipChildren ()
 move to the next node skipping the current node childs
bool isDone ()
TeViewNodecurrentNode ()
int currentDepth ()
 Returns the depth of the current node. The root has depth is 0.

Constructor & Destructor Documentation

TeViewTreeIterator::TeViewTreeIterator ( TeViewTree root) [inline]

Member Function Documentation

int TeViewTreeIterator::currentDepth ( ) [inline]

Returns the depth of the current node. The root has depth is 0.

TeViewNode * TeViewTreeIterator::currentNode ( ) [inline]
void TeViewTreeIterator::first ( ) [inline]
void TeViewTreeIterator::firstLeaf ( ) [inline]
bool TeViewTreeIterator::isDone ( ) [inline]
void TeViewTreeIterator::next ( )
void TeViewTreeIterator::nextLeaf ( )

Move to the next leaf on the tree.

void TeViewTreeIterator::skipChildren ( )

move to the next node skipping the current node childs

Move to the next node in the tree skipping the current node children.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines