PUMA Library Reference Manual
Puma::PreTreeIterator Class Referenceabstract

#include <PreTreeIterator.h>

+ Inheritance diagram for Puma::PreTreeIterator:

Public Member Functions

virtual ~PreTreeIterator ()
 
void first ()
 
void next ()
 
virtual bool isDone () const =0
 
virtual PreTreecurrentItem () const =0
 

Protected Member Functions

 PreTreeIterator (PreTree *node, bool dir=true)
 

Protected Attributes

PreTree_tree
 
long _current
 
bool _dir
 

Constructor & Destructor Documentation

◆ PreTreeIterator()

Puma::PreTreeIterator::PreTreeIterator ( PreTree node,
bool  dir = true 
)
inlineprotected

◆ ~PreTreeIterator()

virtual Puma::PreTreeIterator::~PreTreeIterator ( )
inlinevirtual

Member Function Documentation

◆ currentItem()

virtual PreTree* Puma::PreTreeIterator::currentItem ( ) const
pure virtual

◆ first()

void Puma::PreTreeIterator::first ( )
inline

◆ isDone()

virtual bool Puma::PreTreeIterator::isDone ( ) const
pure virtual

◆ next()

void Puma::PreTreeIterator::next ( )
inline

Member Data Documentation

◆ _current

long Puma::PreTreeIterator::_current
protected

◆ _dir

bool Puma::PreTreeIterator::_dir
protected

◆ _tree

PreTree* Puma::PreTreeIterator::_tree
protected