ProteinParameter Class Reference

#include <ProteinParameter.h>

Inheritance diagram for ProteinParameter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  ProteinParameter (autodesk::platform::assets::IPropertyTable::IProperty *prop, const awString::IString &namePrefix)
  ProteinParameter (const ProteinParameter &src)
virtual awSupport::ParameterRef  clone () const
virtual awSupport::Parameter::Type  getType () const
virtual const awString::IString &  getName () const
virtual bool  operator== (const awSupport::Parameter &parameter) const
bool  operator== (const ProteinParameter &parameter) const
virtual bool  setValueAsString (const awString::IString &value)
virtual double  getValueAsDouble (int index, bool &ok) const
  Return the value at the given index as a double if: 1) the given index is valid for the Parameter::Type.
virtual bool  setValueAsDouble (int index, double value)
  Sets the specified double inside the ValueParameter's value.
virtual bool  getValueAsAffineMatrix (awLinear::AffineMatrix &matrix) const
  A few convenience methods for setting all values when dealing with the affine matrix case.
virtual bool  setValueAsAffineMatrix (const awLinear::AffineMatrix &matrix)
virtual bool  getValueAsProjMatrix (awLinear::ProjMatrix &matrix) const
virtual bool  setValueAsProjMatrix (const awLinear::ProjMatrix &matrix)
virtual bool  checkConnectAssetValid ()
autodesk::platform::assets::IPropertyTable::IProperty *  getProperty ()
awString::IString &  getNamePrefix ()

Protected Member Functions

template<class T >
T *  getPropertyValueAs ()
virtual  ~ProteinParameter ()
virtual void  recomputeValueAsString () const

Protected Attributes

autodesk::platform::assets::IPropertyTable::IProperty *  myProperty

Constructor & Destructor Documentation

ProteinParameter ( autodesk::platform::assets::IPropertyTable::IProperty *  prop,
const awString::IString &  namePrefix 
)
virtual ~ProteinParameter ( ) [protected, virtual]

Member Function Documentation

virtual awSupport::ParameterRef clone ( ) const [virtual]
virtual awSupport::Parameter::Type getType ( ) const [virtual]
virtual const awString::IString& getName ( ) const [virtual]
virtual bool operator== ( const awSupport::Parameter parameter ) const [virtual]

Implements Parameter.

bool operator== ( const ProteinParameter parameter ) const
virtual bool setValueAsString ( const awString::IString &  value ) [virtual]
virtual double getValueAsDouble ( int  index,
bool &  ok 
) const [virtual]

Return the value at the given index as a double if: 1) the given index is valid for the Parameter::Type.

and 2) the value at the given index is valid. Otherwise, return 0 and set the boolean to false.

Implements Parameter.

virtual bool setValueAsDouble ( int  index,
double  value 
) [virtual]

Sets the specified double inside the ValueParameter's value.

Note that this will affect the result of getValueAsString Returns false if the parameter is not of the right type or if it's not mutable and the parameter will remain unmodified.

Implements Parameter.

virtual bool getValueAsAffineMatrix ( awLinear::AffineMatrix &  ) const [virtual]

A few convenience methods for setting all values when dealing with the affine matrix case.

Implements Parameter.

virtual bool setValueAsAffineMatrix ( const awLinear::AffineMatrix &  matrix ) [virtual]
virtual bool getValueAsProjMatrix ( awLinear::ProjMatrix &  matrix ) const [virtual]
virtual bool setValueAsProjMatrix ( const awLinear::ProjMatrix &  matrix ) [virtual]
virtual bool checkConnectAssetValid ( ) [virtual]
autodesk::platform::assets::IPropertyTable::IProperty* getProperty ( )
awString::IString& getNamePrefix ( )
T * getPropertyValueAs ( ) [protected]
{
    return dynamic_cast<T *>( myProperty->GetValue() );
}
virtual void recomputeValueAsString ( ) const [protected, virtual]

Member Data Documentation

autodesk::platform::assets::IPropertyTable::IProperty* myProperty [protected]

ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter
ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter ProteinParameter