#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 |
Private Attributes | |
| int | m_begin |
| int | m_end |
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 |
|
|
|
|
|
|
1.2.16