#include <ProteinParameter.h>
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 ¶meter) const |
bool | operator== (const ProteinParameter ¶meter) 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 |
ProteinParameter | ( | autodesk::platform::assets::IPropertyTable::IProperty * | prop, |
const awString::IString & | namePrefix | ||
) |
ProteinParameter | ( | const ProteinParameter & | src | ) |
virtual ~ProteinParameter | ( | ) | [protected, virtual] |
virtual awSupport::ParameterRef clone | ( | ) | const [virtual] |
Implements Parameter.
virtual awSupport::Parameter::Type getType | ( | ) | const [virtual] |
Implements Parameter.
virtual const awString::IString& getName | ( | ) | const [virtual] |
Implements Parameter.
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] |
Implements Parameter.
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] |
Implements Parameter.
virtual bool getValueAsProjMatrix | ( | awLinear::ProjMatrix & | matrix | ) | const [virtual] |
Implements Parameter.
virtual bool setValueAsProjMatrix | ( | const awLinear::ProjMatrix & | matrix | ) | [virtual] |
Implements Parameter.
virtual bool checkConnectAssetValid | ( | ) | [virtual] |
Implements Parameter.
autodesk::platform::assets::IPropertyTable::IProperty* getProperty | ( | ) |
awString::IString& getNamePrefix | ( | ) |
T * getPropertyValueAs | ( | ) | [protected] |
{ return dynamic_cast<T *>( myProperty->GetValue() ); }
virtual void recomputeValueAsString | ( | ) | const [protected, virtual] |
Implements Parameter.
autodesk::platform::assets::IPropertyTable::IProperty*
myProperty [protected] |