Public Member Functions | Protected Member Functions | Protected Attributes

EM::RowColIterator Class Reference

Inheritance diagram for EM::RowColIterator:
EM::EMObjectIterator

List of all members.

Public Member Functions

 RowColIterator (const Surface &, const SectionID &, const CubeSampling *=0)
 RowColIterator (const Surface &, const SectionID &, const StepInterval< int > rowbnd, const StepInterval< int > colbnd)
PosID next ()
int maximumSize () const
int maximumSize (const SectionID &) const

Protected Member Functions

bool initSection ()
bool nextSection ()

Protected Attributes

RowCol rc_
SectionID sid_
const Geometry::RowColSurfacecursection_
StepInterval< int > rowrg_
StepInterval< int > colrg_
bool allsids_
const Surfacesurf_
const CubeSamplingcsbound_
const StepInterval< int > rowbound_
const StepInterval< int > colbound_
const bool rowcolbounded_
Coord3 pos_
BinID bid_

Constructor & Destructor Documentation

EM::RowColIterator::RowColIterator ( const Surface ,
const SectionID ,
const CubeSampling = 0 
)
EM::RowColIterator::RowColIterator ( const Surface ,
const SectionID ,
const StepInterval< int >  rowbnd,
const StepInterval< int >  colbnd 
)

Member Function Documentation

bool EM::RowColIterator::initSection (  )  [protected]
int EM::RowColIterator::maximumSize (  )  const [virtual]

Reimplemented from EM::EMObjectIterator.

int EM::RowColIterator::maximumSize ( const SectionID  )  const
PosID EM::RowColIterator::next (  )  [virtual]

posid.objectID()==-1 when there are no more pids

Implements EM::EMObjectIterator.

bool EM::RowColIterator::nextSection (  )  [protected]

Member Data Documentation

bool EM::RowColIterator::allsids_ [protected]
const bool EM::RowColIterator::rowcolbounded_ [protected]
const Surface& EM::RowColIterator::surf_ [protected]