#include <Iterator.h>
Public Member Functions | |
int | SetParam (TDomain *domain) |
virtual TBaseCell * | Next (int &info)=0 |
virtual TBaseCell * | Prev ()=0 |
virtual int | Init (int level)=0 |
virtual int | GetMaxLevel ()=0 |
Protected Attributes | |
int | Level |
TDomain * | Domain |
TBaseCell ** | CellTree |
int | N_RootCells |
iterator to produce a series of cells with some special properties
|
pure virtual |
return the maximum level
Implemented in TIt_Search, TIt_Mortar, and TIt_Finest.
|
pure virtual |
Initialize at level "level"
Implemented in TIt_Search, TIt_Mortar, TIt_Between, TIt_Finest, and TIt_OCAF.
|
pure virtual |
return the next cell
Implemented in TIt_Mortar, TIt_Between, TIt_OCAF, TIt_LE, TIt_EQ, TIt_EQLevel, and TIt_LELevel.
|
pure virtual |
return the previous cell
Implemented in TIt_Mortar, TIt_Between, TIt_OCAF, TIt_LE, TIt_EQ, TIt_EQLevel, and TIt_LELevel.
int TIterator::SetParam | ( | TDomain * | domain | ) |
set all parameters to the given values
|
protected |
a copy of tree of cells
|
protected |
domain on which the iterator works
|
protected |
current level
|
protected |
number of cells on trees root