itom 2.0.0
ito::RectMeta Class Reference

Meta-information for Param of type IntArrayMeta that represent a rectangle (left, top, width, height). More...

#include <paramMeta.h>

Inheritance diagram for ito::RectMeta:
ito::ParamMeta

List of all members.

Public Member Functions

 RectMeta (const ito::RangeMeta &widthMeta, const ito::RangeMeta &heightMeta)
const ito::RangeMetagetWidthRangeMeta () const
const ito::RangeMetagetHeightRangeMeta () const
void setWidthRangeMeta (const ito::RangeMeta &widthMeta)
void setHeightRangeMeta (const ito::RangeMeta &heightMeta)

Protected Attributes

ito::RangeMeta m_heightMeta
ito::RangeMeta m_widthMeta

Detailed Description

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.

See also:
ito::Param, ito::ParamMeta, ito::RangeMeta, ito::IntArrayMeta

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends