My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::AxisRange Class Reference
Inheritance diagram for gcp::util::AxisRange:
gcp::util::RegAxisRange

Public Member Functions

 AxisRange (CoordAxes axes, CoordRange range)
 
 AxisRange (CoordAxes &axes, CoordRange *range=0)
 
 AxisRange (CoordAxes *axes, CoordRange *range=0)
 
 AxisRange (RegMapBlock *block, CoordRange *range=0)
 
 AxisRange (unsigned nEl)
 
 AxisRange ()
 
void setTo (CoordAxes *axes, CoordRange *range)
 
void setToDc (CoordAxes *axes, CoordRange *range)
 
void setTo (unsigned nEl)
 
virtual ~AxisRange ()
 
unsigned currentElement ()
 
unsigned currentIterator ()
 
void operator= (AxisRange &obj)
 
const AxisRangeoperator++ ()
 
void reset ()
 
bool isEnd ()
 
Coord currentCoord ()
 
unsigned nEl ()
 

Friends

std::ostream & operator<< (std::ostream &os, AxisRange &range)
 

Constructor & Destructor Documentation

AxisRange::AxisRange ( CoordAxes  axes,
CoordRange  range 
)

Constructor.

....................................................................... Constructor.

AxisRange::AxisRange ( CoordAxes axes,
CoordRange range = 0 
)

....................................................................... Constructor.

AxisRange::AxisRange ( CoordAxes axes,
CoordRange range = 0 
)

....................................................................... Constructor.

AxisRange::AxisRange ( RegMapBlock *  block,
CoordRange range = 0 
)

....................................................................... Constructor from a block and range

AxisRange::AxisRange ( unsigned  nEl)

Constructor for a simplistic axis conisting of nEl consecutive elements

....................................................................... Constructor for a simplistic axis consisting of nEl consecutive elements

AxisRange::AxisRange ( )

....................................................................... Bare constructor

AxisRange::~AxisRange ( )
virtual

Destructor.

....................................................................... Destructor.

Member Function Documentation

Coord AxisRange::currentCoord ( )

Return the current coordinate

....................................................................... Return the current coordinate

unsigned gcp::util::AxisRange::currentElement ( )
inline

Return the current element

unsigned gcp::util::AxisRange::currentIterator ( )
inline

Return the current iterator

bool AxisRange::isEnd ( )

Return true if we are at the end of our range.

....................................................................... Return true if we are at the end of an iteration

unsigned AxisRange::nEl ( )

....................................................................... Return the number of elements corresponding to this object

const AxisRange& gcp::util::AxisRange::operator++ ( )
inline

....................................................................... Prefix increment operator

void AxisRange::reset ( )

Reset all iterators

....................................................................... Reset internal iterators to correspond to the starting byte of this range.

void AxisRange::setTo ( CoordAxes axes,
CoordRange range 
)

Set the axis range

....................................................................... Set the axis range

void AxisRange::setTo ( unsigned  nEl)

....................................................................... Set the axis range

void AxisRange::setToDc ( CoordAxes axes,
CoordRange range 
)

....................................................................... Set the axis range

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
AxisRange range 
)
friend

Allows cout << AxisRange


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