CSLLongProxy Class Reference

Class that allows modification of a LONG parameter in a template. More...

#include <SL_Long.h>

Inheritance diagram for CSLLongProxy:

CSLAnimatableType List of all members.

Public Member Functions

  CSLLongProxy (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex)
CSLLongProxy operator= (const CSLLongProxy &in_Value)
CSLLongProxy operator= (const SI_Long &in_Value)
SI_Bool  operator== (const CSLLongProxy &in_ToCompare)
SI_Bool  operator== (const SI_Long &in_ToCompare)
  operator SI_Long ()
  Conversion operator.
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)

Detailed Description

Class that allows modification of a LONG parameter in a template.


Constructor & Destructor Documentation

CSLLongProxy ( CdotXSITemplate in_pTemplate,
SI_Int  in_nIndex  
)

Constructor. Connects to a parameter in the parent template

Parameters:
in_pTemplate  Pointer to the parent template
in_Index  Index of the parameter in the template


Member Function Documentation

CSLLongProxy& operator= ( const CSLLongProxy in_Value  ) 

Assignment operator. Assigns in_Value to the parameter referred by this proxy.

Parameters:
in_Value  The new value
Returns:
Reference to the current object.

CSLLongProxy& operator= ( const SI_Long &  in_Value  ) 

Assignment operator. Assigns in_Value to the parameter referred by this proxy.

Parameters:
in_Value  The new value
Returns:
Reference to the current object.

SI_Bool operator== ( const CSLLongProxy in_ToCompare  ) 

Comparison operator. Compares in_ToCompare with the value of the parameter referred by this proxy.

Parameters:
in_ToCompare  The instance to compare values with
Returns:
Whether or not the referred parameter and in_ToCompare are equal

SI_Bool operator== ( const SI_Long &  in_ToCompare  ) 

Comparison operator. Compares in_ToCompare with the value of the parameter referred by this proxy.

Parameters:
in_ToCompare  The instance to compare values with
Returns:
Whether or not the referred parameter and in_ToCompare are equal

virtual EElementType Type (  )  [virtual]

Returns the animatable type of this class

Returns:
CSLAnimatableType::SI_LONG_TYPE

Implements CSLAnimatableType.

virtual SI_Float GetFloatValue (  )  [virtual]

Converts the value of the referred parameter to float

Returns:
The converted value

Implements CSLAnimatableType.

virtual SI_Void SetFloatValue ( SI_Float  in_fValue  )  [virtual]

Sets the value of the referred parameter from a float

Parameters:
in_fValue  The float value used to set the parameter

Implements CSLAnimatableType.

virtual SI_Error Connect ( CdotXSITemplate in_pTemplate,
SI_Int  in_nIndex  
) [virtual]

Connects the proxy to a parameter of a template

Parameters:
in_pTemplate  Parent template
in_nIndex  Index of the parameter in the parent template
Return values:
SI_SUCCESS 

Reimplemented from CSLAnimatableType.


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