itom
1.0.13
|
Meta-information for Param of type Char or CharArray. More...
#include <sharedStructures.h>
Public Member Functions | |
CharMeta (char minVal, char maxVal) | |
constructor with minimum and maximum value | |
char | getMin () const |
returns minimum value | |
char | getMax () const |
returns maximum value | |
void | setMin (char val) |
sets the minimum value | |
void | setMax (char val) |
sets the maximum value | |
Static Public Member Functions | |
static CharMeta * | all () |
returns a new instance of CharMeta, where the min and max are set to the full range available for char. | |
Private Attributes | |
char | m_minVal |
char | m_maxVal |
Meta-information for Param of type Char or CharArray.
void ito::CharMeta::setMax | ( | char | 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::CharMeta::setMin | ( | char | 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 |