Public Member Functions | List of all members
imeas::CGeneralNumericConstraints Class Reference

Simple implementation of imeas::INumericConstraints interface. More...

#include <CGeneralNumericConstraints.h>

Inheritance diagram for imeas::CGeneralNumericConstraints:
imeas::INumericConstraints iprm::IOptionsList istd::IChangeable istd::IChangeable istd::IPolymorphic istd::IPolymorphic imeas::CGeneralDataSequenceInfo

Public Member Functions

void Reset ()
 Removes all value informations. More...
 
virtual bool InsertValueInfo (const QString &name, const QString &description, const QByteArray &valueId, const imath::CGeneralUnitInfo &unitInfo, int index=-1)
 Add new value information. More...
 
void RemoveValueInfo (int index)
 Remove single value information. More...
 
const imath::CGeneralUnitInfoGetGeneralUnitInfo (int index) const
 Get unit info stored alway in this structure. More...
 
virtual const iprm::IOptionsListGetValueListInfo () const
 Get general information about the "content" of the numeric value. More...
 
virtual const imath::IUnitInfoGetNumericValueUnitInfo (int index) const
 Get range of possible numeric values for specified list index. More...
 
virtual int GetOptionsFlags () const
 
virtual int GetOptionsCount () const
 
virtual QString GetOptionName (int index) const
 
virtual QString GetOptionDescription (int index) const
 
virtual QByteArray GetOptionId (int index) const
 
virtual bool IsOptionEnabled (int index) const
 

Detailed Description

Simple implementation of imeas::INumericConstraints interface.

Definition at line 20 of file CGeneralNumericConstraints.h.

Member Function Documentation

const imath::CGeneralUnitInfo& imeas::CGeneralNumericConstraints::GetGeneralUnitInfo ( int  index) const

Get unit info stored alway in this structure.

virtual const imath::IUnitInfo* imeas::CGeneralNumericConstraints::GetNumericValueUnitInfo ( int  index) const
virtual

Get range of possible numeric values for specified list index.

Parameters
indexindex of numeric value.

Implements imeas::INumericConstraints.

virtual QString imeas::CGeneralNumericConstraints::GetOptionDescription ( int  index) const
virtual
virtual QByteArray imeas::CGeneralNumericConstraints::GetOptionId ( int  index) const
virtual
virtual QString imeas::CGeneralNumericConstraints::GetOptionName ( int  index) const
virtual
virtual int imeas::CGeneralNumericConstraints::GetOptionsCount ( ) const
virtual
virtual int imeas::CGeneralNumericConstraints::GetOptionsFlags ( ) const
virtual
virtual const iprm::IOptionsList& imeas::CGeneralNumericConstraints::GetValueListInfo ( ) const
virtual

Get general information about the "content" of the numeric value.

Implements imeas::INumericConstraints.

virtual bool imeas::CGeneralNumericConstraints::InsertValueInfo ( const QString &  name,
const QString &  description,
const QByteArray &  valueId,
const imath::CGeneralUnitInfo unitInfo,
int  index = -1 
)
virtual

Add new value information.

Reimplemented in imeas::CGeneralDataSequenceInfo.

virtual bool imeas::CGeneralNumericConstraints::IsOptionEnabled ( int  index) const
virtual
void imeas::CGeneralNumericConstraints::RemoveValueInfo ( int  index)

Remove single value information.

void imeas::CGeneralNumericConstraints::Reset ( )

Removes all value informations.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy