CARMA C++
sza::util::RegCoordRange Class Reference

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 RegCoordRangeoperator++ ()
 Prefix increment operator. More...
 
 RegCoordRange (RegDescription &reg, 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...
 

Detailed Description

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

Definition at line 24 of file RegCoordRange.h.

Constructor & Destructor Documentation

sza::util::RegCoordRange::RegCoordRange ( RegDescription &  reg,
CoordRange &  range 
)

Constructor.

virtual sza::util::RegCoordRange::~RegCoordRange ( )
virtual

Destructor.

Member Function Documentation

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.

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 file: