libIntegra
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
integra_api::IConstraint Class Referenceabstract

Definition of a stateful control's constraint. More...

#include "api/interface_definition.h"

Public Member Functions

virtual const IValueRangeget_value_range () const =0
 Get value range. More...
 
virtual const value_set * get_allowed_states () const =0
 Get allowed states. More...
 

Detailed Description

Definition of a stateful control's constraint.

All stateful controls must have a constraint, and the constraint must be either a range of values (min to max), or a set of allowed values (an enumeration).

Member Function Documentation

virtual const value_set* integra_api::IConstraint::get_allowed_states ( ) const
pure virtual

Get allowed states.

Returns
a value_set *, or NULL if this constraint uses a value range
virtual const IValueRange* integra_api::IConstraint::get_value_range ( ) const
pure virtual

Get value range.

Returns
an IValueRange *, or NULL if this constraint uses an allowed-value set

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