#include <SL_Enum.h>
Inheritance diagram for CSLEnumProxy:

Public Member Functions |
|
| CSLEnumProxy (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex) | |
| CSLEnumProxy & | operator= (const CSLEnumProxy &in_Value) |
| CSLEnumProxy & | operator= (const EnumType &in_Value) |
| SI_Bool | operator== (const CSLEnumProxy &in_ToCompare) |
| SI_Bool | operator== (const EnumType &in_ToCompare) |
| SI_Bool | IsValid () |
| operator EnumType () | |
| virtual EElementType | Type () |
| virtual SI_Float | GetFloatValue () |
| virtual SI_Void | SetFloatValue (SI_Float in_fValue) |
| virtual SI_Error | Connect (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex) |
| virtual CdotXSIParam * | ParameterReference () |
| CSLEnumProxy | ( | CdotXSITemplate * | in_pTemplate, | |
| SI_Int | in_nIndex | |||
| ) |
Constructor. Connects to an enum parameter implemented as an integer in the template
| [in] | in_pTemplate | Pointer to the template |
| [in] | in_nIndex | Index of the parameter in the template |
| CSLEnumProxy< EnumType, MaxValue > & operator= | ( | const CSLEnumProxy< EnumType, MaxValue > & | in_Value | ) | [inline] |
Assignment operator. Assigns the value of in_Value to this class
| [in] | in_Value | The new value |
| CSLEnumProxy< EnumType, MaxValue > & operator= | ( | const EnumType & | in_Value | ) | [inline] |
Assignment operator. Assigns in_Value to the parameter referred by this proxy.
| [in] | in_Value | The new value |
| SI_Bool operator== | ( | const CSLEnumProxy< EnumType, MaxValue > & | in_ToCompare | ) | [inline] |
Comparison operator. Compares in_ToCompare with the value of the parameter referred by this proxy.
| [in] | in_ToCompare | The instance to compare values with |
in_ToCompare are equal | SI_Bool operator== | ( | const EnumType & | in_ToCompare | ) | [inline] |
Comparison operator. Compares in_ToCompare with the value of the parameter referred by this proxy.
| [in] | in_ToCompare | The instance to compare values with |
in_ToCompare are equal | SI_Bool IsValid | ( | ) | [inline] |
Checks if the internally stored enum value is valid
| true | if the stored enum is within valid range | |
| false | if the stored enum is invalid |
| operator EnumType | ( | ) | [inline] |
Conversion operator
| CSLAnimatableType::EElementType Type | ( | ) | [virtual] |
Returns the animatable type of this class
| CSLAnimatableType::SI_ENUM_TYPE | Animatable type |
Implements CSLAnimatableType.
| SI_Float GetFloatValue | ( | ) | [virtual] |
Converts the value of the referred parameter to float
Implements CSLAnimatableType.
| SI_Void SetFloatValue | ( | SI_Float | in_fValue | ) | [virtual] |
Sets the value of the referred parameter from a float
| [in] | in_fValue | The float value used to set the parameter |
Implements CSLAnimatableType.
| SI_Error Connect | ( | CdotXSITemplate * | in_pTemplate, | |
| SI_Int | in_nIndex | |||
| ) | [virtual] |
Connects the proxy to a parameter of a template
| [in] | in_pTemplate | Parent template |
| [in] | in_nIndex | Index of the parameter in the parent template |
| SI_Error::SI_SUCCESS |
Reimplemented from CSLAnimatableType.
| CdotXSIParam * ParameterReference | ( | ) | [virtual] |
Returns the CdotXSIParam reference of that proxy
Reimplemented from CSLAnimatableType.