36#include "commonGlobal.h"
65 AutoInterval(
double min,
double max,
bool autoInterval =
false);
70 inline double minimum()
const {
return m_min; }
73 inline double maximum()
const {
return m_max; }
76 inline double &
rmin() {
return m_min; }
79 inline double &
rmax() {
return m_max; }
82 inline bool isAuto()
const {
return m_auto; }
85 inline bool &
rauto() {
return m_auto; }
92 void setRange(
double min,
double max);
98 void setMinimum(
double min);
104 void setMaximum(
double max);
110 void setAuto(
bool autoInterval);
class for a interval type containing a min-max-range and an auto-flag.
Definition interval.h:50
bool isAuto() const
return the state of the auto-flag as boolean variable
Definition interval.h:82
bool & rauto()
return the reference to the auto-flag. Assigning a boolean to this reference will change the auto-fla...
Definition interval.h:85
double m_min
Definition interval.h:52
double maximum() const
return the maximum value of the interval (included)
Definition interval.h:73
double & rmax()
return a reference to the maximum value of the interval. Assigning a float to this reference will cha...
Definition interval.h:79
double m_max
Definition interval.h:53
double minimum() const
return the minimum value of the interval (included)
Definition interval.h:70
bool m_auto
Definition interval.h:54
double & rmin()
return a reference to the minimum value of the interval. Assigning a float to this reference will cha...
Definition interval.h:76
Definition apiFunctionsGraph.cpp:40
bool operator!=(const ByteArray &a1, const char *a2)
comparison operator that returns true if the content of a1 is not equal to the given zero-terminated ...
Definition byteArray.h:210
bool operator==(const ByteArray &a1, const char *a2)
comparison operator that returns true if the content of a1 is equal to the given zero-terminated stri...
Definition byteArray.h:198