61 startIndx = endIndx = indx;
80 bool test(
int i) {
return ( i >= startIndx ) && ( i <= endIndx ); }
Range()
Empty range constructor.
Range(int li, int hi)
Constructor. Creates range <li, hi>
bool test(int i)
Tests if number is in range.
std::ostream & operator<<(std::ostream &out, const Dictionary &r)
Class Range is an abstraction for interval of integer numbers.
int giveStart()
Returns the start index (inclusive).
int startIndx
Interval start value.
int giveEnd()
Returns the end index (inclusive).
int endIndx
Interval end value.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Range(int indx)
Constructor. Creates Range containing only given single number.