template<typename T>
class SOIL::Range< T >
Class to represent the acceptable range of a figure. This class is templated to be applicable to all types. For numerical values, the range indicates a lower and upper limit which may be validly assigned. The limit values are included. The same holds for times. For strings, it indicates the minimum and maximum length. For enumerations, this is a list of applicable choices. For these types, the template is explicitly implemented differently. The range can be explicitly unset to provide an easy default member implementation.
There is no set function, if the range changes, a new instance of this lightweight class should be created.
- Template Parameters
-
T | Datatype for which the range is defined |
Definition at line 24 of file Range.h.