itom  1.0.13
ito::IntMeta Class Reference

Meta-information for Param of type Int or IntArray. More...

#include <sharedStructures.h>

Inheritance diagram for ito::IntMeta:
ito::ParamMeta

List of all members.

Public Member Functions

 IntMeta (int minVal, int maxVal)
 constructor with minimum and maximum value
int getMin () const
 returns minimum value
int getMax () const
 returns maximum value
void setMin (int val)
 sets the minimum value
void setMax (int val)
 sets the maximum value

Static Public Member Functions

static IntMetaall ()
 returns a new instance of IntMeta, where the min and max are set to the full range available for integers.

Private Attributes

int m_minVal
int m_maxVal

Detailed Description

Meta-information for Param of type Int or IntArray.

See also:
ito::Param

Member Function Documentation

void ito::IntMeta::setMax ( int  val) [inline]

sets the maximum value

Parameters:
valis the new maximum value, if this is smaller than the current minimum value, the minimum value is changed to val, too
void ito::IntMeta::setMin ( int  val) [inline]

sets the minimum value

Parameters:
valis the new minimum value, if this is bigger than the current maximum value, the maximum value is changed to val, too

The documentation for this class was generated from the following file: