|
|
| AutoInterval () |
| | default constructor: auto-mode: true, min=-Inf, max=+Inf
|
| |
| | AutoInterval (double min, double max, bool autoInterval=false) |
| | constructor
|
| |
|
virtual | ~AutoInterval () |
| | destructor */
|
| |
|
double | minimum () const |
| | return the minimum value of the interval (included)
|
| |
|
double | maximum () const |
| | return the maximum value of the interval (included)
|
| |
|
double & | rmin () |
| | return a reference to the minimum value of the interval. Assigning a float to this reference will change the minimum in the interval.
|
| |
|
double & | rmax () |
| | return a reference to the maximum value of the interval. Assigning a float to this reference will change the maximum in the interval.
|
| |
|
bool | isAuto () const |
| | return the state of the auto-flag as boolean variable
|
| |
|
bool & | rauto () |
| | return the reference to the auto-flag. Assigning a boolean to this reference will change the auto-flag.
|
| |
| void | setRange (double min, double max) |
| | set the boundary values of the AutoInterval without changing the auto flag
|
| |
| void | setMinimum (double min) |
| | change the included minimum value
|
| |
| void | setMaximum (double max) |
| | change the included maximum value
|
| |
| void | setAuto (bool autoInterval) |
| | set the auto-flag to a given boolean value
|
| |
| bool | operator== (const AutoInterval &) const |
| | comparison operator between the AutoInterval and another AutoInterval.
|
| |
| bool | operator!= (const AutoInterval &) const |
| | comparison operator between the AutoInterval and another AutoInterval.
|
| |
class for a interval type containing a min-max-range and an auto-flag.
This class can be used as datatype if you want to provide a range- or interval-object that contains of two float min and max boundaries as well as an auto-flag. If auto is set, the min and max boundaries can be calculated by an automatic mode within your code.