itom
1.0.13
|
Meta-information for Param of type Double or DoubleArray. More...
#include <sharedStructures.h>
Public Member Functions | |
DoubleMeta (double minVal, double maxVal) | |
constructor with minimum and maximum value | |
double | getMin () const |
returns minimum value | |
double | getMax () const |
returns maximum value | |
void | setMin (double val) |
sets the minimum value | |
void | setMax (double val) |
sets the maximum value | |
Static Public Member Functions | |
static DoubleMeta * | all () |
returns a new instance of DoubleMeta, where the min and max are set to the full range available for double. | |
Private Attributes | |
double | m_minVal |
double | m_maxVal |
Meta-information for Param of type Double or DoubleArray.
void ito::DoubleMeta::setMax | ( | double | val | ) | [inline] |
sets the maximum value
val | is the new maximum value, if this is smaller than the current minimum value, the minimum value is changed to val, too |
void ito::DoubleMeta::setMin | ( | double | val | ) | [inline] |
sets the minimum value
val | is the new minimum value, if this is bigger than the current maximum value, the maximum value is changed to val, too |