#include <Interval.H>
Public Methods | |
Interval () | |
Interval (int a_firstComp, int a_lastComp) | |
void | define (int a_firstComp, int a_lastComp) |
int | begin () const |
int | end () const |
int | size () const |
bool | contains (int a_val) const |
A class to encapsulate component ranges
|
|
|
initialize with first and last component numbers |
|
return first component number |
|
|
|
|
|
return last component number |
|
return last - first + 1 |