ParMooN
 All Classes Functions Variables Friends Pages
Public Member Functions | Protected Attributes | List of all members
TIterator Class Referenceabstract

#include <Iterator.h>

Inheritance diagram for TIterator:
Inheritance graph
[legend]
Collaboration diagram for TIterator:
Collaboration graph
[legend]

Public Member Functions

int SetParam (TDomain *domain)
 
virtual TBaseCellNext (int &info)=0
 
virtual TBaseCellPrev ()=0
 
virtual int Init (int level)=0
 
virtual int GetMaxLevel ()=0
 

Protected Attributes

int Level
 
TDomainDomain
 
TBaseCell ** CellTree
 
int N_RootCells
 

Detailed Description

iterator to produce a series of cells with some special properties

Member Function Documentation

virtual int TIterator::GetMaxLevel ( )
pure virtual

return the maximum level

Implemented in TIt_Search, TIt_Mortar, and TIt_Finest.

Here is the caller graph for this function:

virtual int TIterator::Init ( int  level)
pure virtual

Initialize at level "level"

Implemented in TIt_Search, TIt_Mortar, TIt_Between, TIt_Finest, and TIt_OCAF.

Here is the caller graph for this function:

virtual TBaseCell* TIterator::Next ( int &  info)
pure virtual

return the next cell

Implemented in TIt_Mortar, TIt_Between, TIt_OCAF, TIt_LE, TIt_EQ, TIt_EQLevel, and TIt_LELevel.

Here is the caller graph for this function:

virtual TBaseCell* TIterator::Prev ( )
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

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

TBaseCell** TIterator::CellTree
protected

a copy of tree of cells

TDomain* TIterator::Domain
protected

domain on which the iterator works

int TIterator::Level
protected

current level

int TIterator::N_RootCells
protected

number of cells on trees root


The documentation for this class was generated from the following files: