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

#include <CGeneralNumericValue.h>

Inheritance diagram for imeas::CGeneralNumericValue:
imeas::INumericValue iser::ISerializable istd::IChangeable istd::IPolymorphic

Public Member Functions

void SetComponentValue (imeas::INumericValue::ValueTypeId valueTypeId, imath::CVarVector value)
 
virtual bool IsValueTypeSupported (imeas::INumericValue::ValueTypeId valueTypeId) const
 Check if the given value type (or value component) is supported. More...
 
virtual const
imeas::INumericConstraints
GetNumericConstraints () const
 Get parameter constraints describing possible parameter values. More...
 
virtual imath::CVarVector GetComponentValue (imeas::INumericValue::ValueTypeId valueTypeId) const
 Get access to component value of the given type. More...
 
virtual imath::CVarVector GetValues () const
 Get list of numeric values. More...
 
virtual bool SetValues (const imath::CVarVector &values)
 Set list of numeric values. More...
 
virtual bool Serialize (iser::IArchive &archive)
 
virtual bool CopyFrom (const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
 
virtual istd::IChangeableCloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const
 

Additional Inherited Members

- Public Types inherited from imeas::INumericValue
enum  ValueTypeId {
  VTI_AUTO = 0, VTI_WEIGHT, VTI_POSITION, VTI_RADIUS,
  VTI_SCALE, VTI_ANGLE, VTI_ALPHA, VTI_LENGTH,
  VTI_2D_TRANSFORM, VTI_2D_LINE
}
 Define standard numeric value types. More...
 

Detailed Description

Definition at line 18 of file CGeneralNumericValue.h.

Member Function Documentation

virtual istd::IChangeable* imeas::CGeneralNumericValue::CloneMe ( CompatibilityMode  mode = CM_WITHOUT_REFS) const
virtual
virtual bool imeas::CGeneralNumericValue::CopyFrom ( const istd::IChangeable object,
CompatibilityMode  mode = CM_WITHOUT_REFS 
)
virtual
virtual imath::CVarVector imeas::CGeneralNumericValue::GetComponentValue ( imeas::INumericValue::ValueTypeId  valueTypeId) const
virtual

Get access to component value of the given type.

See Also
ValueTypeId
Returns
if data vector cannot be calculated it returns empty vector.

Implements imeas::INumericValue.

virtual const imeas::INumericConstraints* imeas::CGeneralNumericValue::GetNumericConstraints ( ) const
virtual

Get parameter constraints describing possible parameter values.

Implements imeas::INumericValue.

virtual imath::CVarVector imeas::CGeneralNumericValue::GetValues ( ) const
virtual

Get list of numeric values.

Implements imeas::INumericValue.

virtual bool imeas::CGeneralNumericValue::IsValueTypeSupported ( imeas::INumericValue::ValueTypeId  valueTypeId) const
virtual

Check if the given value type (or value component) is supported.

If the value component is supported you can access this via GetComponentValue method.

See Also
GetComponentValue

Implements imeas::INumericValue.

virtual bool imeas::CGeneralNumericValue::Serialize ( iser::IArchive archive)
virtual
void imeas::CGeneralNumericValue::SetComponentValue ( imeas::INumericValue::ValueTypeId  valueTypeId,
imath::CVarVector  value 
)
virtual bool imeas::CGeneralNumericValue::SetValues ( const imath::CVarVector values)
virtual

Set list of numeric values.

Implements imeas::INumericValue.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy