CARMA C++
|
A class for iterating over slot ranges specified in a CoordRange object. More...
#include <carma/szautil/RegCoordRange.h>
Public Member Functions | |
unsigned | currentElement () |
Return the current element. More... | |
unsigned | currentSlot () |
bool | isEnd () |
Return true if we are at the end of our range. More... | |
const RegCoordRange & | operator++ () |
Prefix increment operator. More... | |
RegCoordRange (RegDescription ®, CoordRange &range) | |
Constructor. More... | |
void | reset () |
Reset all iterators. More... | |
virtual | ~RegCoordRange () |
Destructor. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, RegCoordRange &range) |
Allows cout << RegCoordRange. More... | |
A class for iterating over slot ranges specified in a CoordRange object.
Definition at line 24 of file RegCoordRange.h.
sza::util::RegCoordRange::RegCoordRange | ( | RegDescription & | reg, |
CoordRange & | range | ||
) |
Constructor.
|
virtual |
Destructor.
unsigned sza::util::RegCoordRange::currentElement | ( | ) |
Return the current element.
Definition at line 40 of file RegCoordRange.h.
bool sza::util::RegCoordRange::isEnd | ( | ) |
Return true if we are at the end of our range.
const RegCoordRange& sza::util::RegCoordRange::operator++ | ( | ) |
Prefix increment operator.
void sza::util::RegCoordRange::reset | ( | ) |
Reset all iterators.
|
friend |
Allows cout << RegCoordRange.