itom
Loading...
Searching...
No Matches
ito::ListMeta Class Reference

Additional base class for all list or array meta information. More...

#include <paramMeta.h>

Inheritance diagram for ito::ListMeta:
ito::CharArrayMeta ito::DoubleArrayMeta ito::IntArrayMeta ito::StringListMeta

Public Member Functions

 ListMeta ()
 < default constructor with an arbitrary list size
 
 ListMeta (size_t numMin, size_t numMax, size_t numStepSize=1)
 destructor
 
virtual ~ListMeta ()
 < destructor
 
virtual bool operator== (const ListMeta &other) const
 returns minimum number of values
 
size_t getNumMin () const
 returns maximum number of values
 
size_t getNumMax () const
 returns step size of number of values
 
size_t getNumStepSize () const
 
void setNumMin (size_t val)
 sets the minimum number of values
 
void setNumMax (size_t val)
 sets the maximum number of values
 
void setNumStepSize (size_t val)
 sets the step size of the number of values
 

Private Attributes

size_t m_numMin
 
size_t m_numMax
 
size_t m_numStep
 

Detailed Description

Additional base class for all list or array meta information.

Meta objects that derive from this class, too get further meta information about the minimum and maximum number of elements in a list, including an optional step size.

Member Function Documentation

◆ setNumMax()

void ito::ListMeta::setNumMax ( size_t val)

sets the maximum number of values

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

◆ setNumMin()

void ito::ListMeta::setNumMin ( size_t val)

sets the minimum number of values

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

◆ setNumStepSize()

void ito::ListMeta::setNumStepSize ( size_t val)

sets the step size of the number of values

Parameters
valis the new step size, hence only discrete values [minVal, minVal+stepSize, minVal+2*stepSize...,maxVal] are allowed

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