My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::RegCoordRange Class Reference

#include <RegCoordRange.h>

Public Member Functions

 RegCoordRange (RegDescription &reg, CoordRange &range)
 
virtual ~RegCoordRange ()
 
unsigned currentElement ()
 
unsigned currentSlot ()
 
const RegCoordRangeoperator++ ()
 
void reset ()
 
bool isEnd ()
 

Friends

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

Detailed Description

A class for iterating over slot ranges specified in a CoordRange object

Constructor & Destructor Documentation

RegCoordRange::RegCoordRange ( RegDescription reg,
CoordRange range 
)

Constructor.

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

RegCoordRange::~RegCoordRange ( )
virtual

Destructor.

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

Member Function Documentation

unsigned gcp::util::RegCoordRange::currentElement ( )
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.

Friends And Related Function Documentation

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

Allows cout << RegCoordRange


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