#include
<classaw_support_1_1_parameter.h>
List of all
members.
Member Function Documentation
str awSupport.Parameter.getValueAsString |
( |
|
) |
|
Access the parameter's value.
It does not matter whether the Parameter is of type
string or not -- you can always read/write it's string
representation through getValueAsString and setValueAsString.
bool awSupport.Parameter.setValueAsString |
( |
str |
value |
) |
|
awSupport.Parameter.__init__ |
( |
|
) |
|
ParameterRef awSupport.Parameter.clone |
( |
|
) |
|
aw Reference awSupport.Parameter.as |
( |
|
) |
|
aw Reference awSupport.Parameter.as |
( |
|
) |
|
Parameter Type
awSupport.Parameter.getType |
( |
|
) |
|
str awSupport.Parameter.getName |
( |
|
) |
|
float awSupport.Parameter.getValueAsDouble |
( |
int |
index, |
|
|
bool |
ok |
|
) |
|
|
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.
float
awSupport.Parameter.getValueAsDoubleWithDefault |
( |
int |
index, |
|
|
float |
defaultValue |
|
) |
|
|
Same as getValueAsDoubleWithDefault( index, ok ), but returns
the defaultValue if retrival was not ok.
bool awSupport.Parameter.setValueAsDouble |
( |
int |
index, |
|
|
float |
value |
|
) |
|
|
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.
bool awSupport.Parameter.operator== |
( |
Parameter |
parameter |
) |
|
bool awSupport.Parameter.operator!= |
( |
Parameter |
parameter |
) |
|
bool
awSupport.Parameter.getValueAsAffineMatrix |
( |
awLinear. |
AffineMatrix |
) |
|
A few convenience methods for setting all values when dealing
with the affine matrix case.
bool
awSupport.Parameter.setValueAsAffineMatrix |
( |
awLinear. |
AffineMatrix |
) |
|
bool
awSupport.Parameter.getValueAsProjMatrix |
( |
awLinear. |
ProjMatrix |
) |
|
bool
awSupport.Parameter.setValueAsProjMatrix |
( |
awLinear. |
ProjMatrix |
) |
|
bool
awSupport.Parameter.checkConnectAssetValid |
( |
|
) |
|
str awSupport.Parameter.getTypeAsString |
( |
Parameter.Type |
type |
) |
|
Parameter Type
awSupport.Parameter.getTypeFromString |
( |
str |
stringType |
) |
|
awSupport.Parameter.parseFilenames |
( |
str |
stringToParse, |
|
|
str |
filename1, |
|
|
str |
filename2 |
|
) |
|
|
Parses the given string delimited by this separator into its two
parts.
awSupport.Parameter.__init__ |
( |
Parameter |
src |
) |
[protected] |
awSupport.Parameter.__del__ |
( |
|
) |
[protected] |
awSupport.Parameter.recomputeValueAsString |
( |
|
) |
[protected] |
Member Data Documentation