My Project
|
#include <RegCoordRange.h>
Public Member Functions | |
RegCoordRange (RegDescription ®, CoordRange &range) | |
virtual | ~RegCoordRange () |
unsigned | currentElement () |
unsigned | currentSlot () |
const RegCoordRange & | operator++ () |
void | reset () |
bool | isEnd () |
Friends | |
std::ostream & | operator<< (std::ostream &os, RegCoordRange &range) |
A class for iterating over slot ranges specified in a CoordRange object
RegCoordRange::RegCoordRange | ( | RegDescription & | reg, |
CoordRange & | range | ||
) |
Constructor.
....................................................................... Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
|
inline |
Return the current element
bool RegCoordRange::isEnd | ( | ) |
Return true if we are at the end of our range.
....................................................................... Return true if we are at the end of an iteration
const RegCoordRange & RegCoordRange::operator++ | ( | ) |
Prefix increment operator
....................................................................... Prefix increment operator
void RegCoordRange::reset | ( | ) |
Reset all iterators
....................................................................... Reset internal iterators to correspond to the starting byte of this range.
|
friend |
Allows cout << RegCoordRange