00001 //*************************************************************************************** 00002 // File supervisor: Crosswalk team 00012 //*************************************************************************************** 00013 00014 #ifndef _INT_H 00015 #define _INT_H 00016 00017 #include "AnimatableType.h" 00018 class CCOLLADATemplate; 00019 class CSLCOLLADAScene; 00020 00021 00024 class XSIEXPORT CSLIntProxy : public CSLAnimatableType 00025 { 00026 public: 00030 CSLIntProxy(SI_Int* in_pValue); 00031 00036 CSLIntProxy(CdotXSITemplate *in_pTemplate, SI_Int in_nIndex ); 00037 00040 CSLIntProxy(); 00041 00046 CSLIntProxy& operator =(const CSLIntProxy &in_Value); 00047 00052 CSLIntProxy& operator =(const SI_Int &in_Value); 00053 00058 SI_Bool operator ==(const CSLIntProxy &in_ToCompare); 00059 00064 SI_Bool operator ==(const SI_Int &in_ToCompare); 00065 00067 operator SI_Int(); 00068 00072 virtual EElementType Type(); 00073 00077 virtual SI_Float GetFloatValue(); 00078 00082 virtual SI_Void SetFloatValue(SI_Float in_fValue); 00083 00089 virtual SI_Error Connect (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex ); 00090 00091 private: 00092 CSLIntProxy( CSLIntProxy &in_pBasicType ){} 00093 SI_Int* m_pValue; 00094 }; 00095 00096 #endif