#include <SUIT_DataObjectIterator.h>
Public Member Functions | |
SUIT_DataObjectLevelIterator (SUIT_DataObject *root, const int start, const int end=0, const bool LeftToRight=true) | |
virtual void | operator++ () |
Public Member Functions inherited from SUIT_DataObjectIterator | |
SUIT_DataObjectIterator (SUIT_DataObject *root, const int det, const bool fromTrueRoot=false) | |
SUIT_DataObject * | current () const |
int | depth () const |
int | detour () const |
Protected Attributes | |
int | myStartLevel |
int | myEndLevel |
Protected Attributes inherited from SUIT_DataObjectIterator | |
SUIT_DataObject * | myRoot |
SUIT_DataObject * | myCurrent |
Additional Inherited Members | |
Public Types inherited from SUIT_DataObjectIterator | |
enum | DetourType { DepthLeft, DepthRight, BreadthLeft, BreadthRight, User } |
Protected Member Functions inherited from SUIT_DataObjectIterator | |
SUIT_DataObject * | parent (SUIT_DataObject *) const |
SUIT_DataObject * | extreme (DataObjectList &, bool FromLeft) const |
SUIT_DataObject * | globalSibling (SUIT_DataObject *, bool next) const |
SUIT_DataObjectLevelIterator::SUIT_DataObjectLevelIterator | ( | SUIT_DataObject * | root, |
const int | start, | ||
const int | end = 0 , |
||
const bool | LeftToRight = true |
||
) |
Constructor.
References SUIT_DataObjectIterator::current(), SUIT_DataObjectIterator::depth(), myEndLevel, myStartLevel, and SUIT_DataObjectIterator::operator++().
|
virtual |
Increment operator.
Reimplemented from SUIT_DataObjectIterator.
References SUIT_DataObjectIterator::depth(), SUIT_DataObjectIterator::myCurrent, myEndLevel, and SUIT_DataObjectIterator::operator++().
|
protected |
|
protected |