vrecko
virtual reality framework
|
#include <Range.h>
Public Types | |
enum | RangeType { RANGE_INTERVAL, RANGE_ENUMERATION } |
Public Member Functions | |
bool | isInterval () const |
bool | isEnumeration () const |
Protected Member Functions | |
Range (RangeType rangeType) | |
Range (const Range &range) | |
Represents a general range class.
You cannot create any instances of this class, use subclasses. This class is meant solely as an abstract parent class for classes Interval and Enumeration.
Range types enumeration.
Enumerator | |
---|---|
RANGE_INTERVAL |
interval |
RANGE_ENUMERATION |
enumeration |
|
inlineprotected |
Constructs a Range object of the range type specified.
rangeType | type of range |
|
inlineprotected |
|
inline |
"Is enumeration" predicate.
|
inline |
"Is interval" predicate.