00001 //*************************************************************************************** 00002 // File supervisor: Crosswalk team 00012 //*************************************************************************************** 00013 00014 #ifndef _SHORT_H 00015 #define _SHORT_H 00016 00017 #include "AnimatableType.h" // CSLAnimatableType 00018 class CCOLLADATemplate; 00019 class CSLCOLLADAScene; 00020 00023 class XSIEXPORT CSLShortProxy : public CSLAnimatableType 00024 { 00025 public: 00030 CSLShortProxy(CdotXSITemplate *in_pTemplate, SI_Int in_Index ); 00031 00036 CSLShortProxy& operator =(const CSLShortProxy &in_Value); 00037 00042 CSLShortProxy& operator =(const SI_Short &in_Value); 00043 00048 SI_Bool operator ==(const CSLShortProxy &in_ToCompare); 00049 00054 SI_Bool operator ==(const SI_Short &in_ToCompare); 00055 00057 operator SI_Short(); 00058 00062 virtual EElementType Type(); 00063 00067 virtual SI_Float GetFloatValue(); 00068 00072 virtual SI_Void SetFloatValue(SI_Float in_fValue); 00073 00079 virtual SI_Error Connect (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex ); 00080 00081 private: 00082 CSLShortProxy( CSLShortProxy &in_pBasicType ){} 00083 SI_Short* m_pValue; 00084 }; 00085 00086 00087 #endif