itom 1.3.0
|
class for a interval type containing a min-max-range and an auto-flag. More...
#include <interval.h>
Public Member Functions | |
AutoInterval (float min, float max, bool autoInterval=false) | |
> default constructor: auto-mode, min=-Inf, max=+Inf | |
float | minimum () const |
float | maximum () const |
bool | isAuto () const |
void | setRange (float min, float max) |
void | setAuto (bool autoInterval) |
bool | operator== (const AutoInterval &) const |
bool | operator!= (const AutoInterval &) const |
Private Attributes | |
float | m_min |
float | m_max |
bool | m_auto |
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.