PUMA Library Reference Manual
Puma::PreSonIterator Class Reference

#include <PreSonIterator.h>

+ Inheritance diagram for Puma::PreSonIterator:

Public Member Functions

 PreSonIterator (PreTree *node, bool dir=true)
 
 ~PreSonIterator ()
 
bool isDone () const
 
PreTreecurrentItem () const
 
- Public Member Functions inherited from Puma::PreTreeIterator
virtual ~PreTreeIterator ()
 
void first ()
 
void next ()
 

Additional Inherited Members

- Protected Member Functions inherited from Puma::PreTreeIterator
 PreTreeIterator (PreTree *node, bool dir=true)
 
- Protected Attributes inherited from Puma::PreTreeIterator
PreTree_tree
 
long _current
 
bool _dir
 

Constructor & Destructor Documentation

◆ PreSonIterator()

Puma::PreSonIterator::PreSonIterator ( PreTree node,
bool  dir = true 
)
inline

◆ ~PreSonIterator()

Puma::PreSonIterator::~PreSonIterator ( )
inline

Member Function Documentation

◆ currentItem()

PreTree* Puma::PreSonIterator::currentItem ( ) const
inlinevirtual

Implements Puma::PreTreeIterator.

◆ isDone()

bool Puma::PreSonIterator::isDone ( ) const
inlinevirtual

Implements Puma::PreTreeIterator.