itom
3.0.0
|
Meta-information for Param of type IntArrayMeta that represent a rectangle (left, top, width, height). More...
#include <paramMeta.h>
Public Member Functions | |
RectMeta (const ito::RangeMeta &widthMeta, const ito::RangeMeta &heightMeta, ito::ByteArray category=ito::ByteArray()) | |
const ito::RangeMeta & | getWidthRangeMeta () const |
const ito::RangeMeta & | getHeightRangeMeta () const |
void | setWidthRangeMeta (const ito::RangeMeta &widthMeta) |
void | setHeightRangeMeta (const ito::RangeMeta &heightMeta) |
ito::ByteArray | getUnit () const |
returns unit | |
void | setUnit (const ito::ByteArray &unit) |
sets unit string of this parameter | |
virtual bool | operator== (const ParamMeta &other) const |
Public Member Functions inherited from ito::ParamMeta | |
ParamMeta (ito::ByteArray category=ito::ByteArray()) | |
default constructor with an unknown meta information type | |
ParamMeta (MetaRtti type, ito::ByteArray category=ito::ByteArray()) | |
constructor used by derived classes to indicate their real type | |
virtual | ~ParamMeta () |
destructor | |
MetaRtti | getType () const |
returns runtime type information value | |
ito::ByteArray | getCategory () const |
returns category name of this parameter (default: empty ByteArray) | |
void | setCategory (const ito::ByteArray &category) |
bool | operator!= (const ParamMeta &other) const |
Protected Attributes | |
ito::RangeMeta | m_heightMeta |
ito::RangeMeta | m_widthMeta |
Protected Attributes inherited from ito::ParamMeta | |
MetaRtti | m_type |
ito::ByteArray | m_category |
optional category name of this parameter | |
Additional Inherited Members | |
Public Types inherited from ito::ParamMeta | |
enum | MetaRtti { rttiUnknown = 0, rttiCharMeta = 1, rttiIntMeta = 2, rttiDoubleMeta = 3, rttiStringMeta = 4, rttiHWMeta = 5, rttiDObjMeta = 6, rttiIntArrayMeta = 7, rttiDoubleArrayMeta = 8, rttiCharArrayMeta = 9, rttiIntervalMeta = 10, rttiDoubleIntervalMeta = 11, rttiRangeMeta = 12, rttiRectMeta = 13 } |
Runtime type information. More... | |
enum | tRepresentation { Linear = 0x0001, Logarithmic = 0x0002, Boolean = 0x0004, PureNumber = 0x0008, HexNumber = 0x0010, IPV4Address = 0x0020, MACAddress = 0x0040, UnknownRepresentation = 0x0080 } |
The representation of number types indicates the type of widget that is suited best to display and change the value. More... | |
Meta-information for Param of type IntArrayMeta that represent a rectangle (left, top, width, height).
An object of this class can be used to parametrize a parameter whose type is ito::ParamBase::IntArray. This meta information class indicates that the corresponding integer array parameter is interpreted as a rectangle, hence, only an array consisting of four values is accepted. This meta information consists of two object of type ito::RangeMeta, describing the contraints of the horizontal and vertical axes of the rectangle.