00001 //*************************************************************************************** 00002 // 00003 // File supervisor: Crosswalk team 00004 // 00005 // Copyright 2008 Autodesk, Inc. All rights reserved. 00006 // Use of this software is subject to the terms of the Autodesk license agreement 00007 // provided at the time of installation or download, or which otherwise accompanies 00008 // this software in either electronic or hard copy form. 00009 // 00010 //*************************************************************************************** 00011 00012 #ifndef _INT_H 00013 #define _INT_H 00014 00015 #include "AnimatableType.h" 00016 class CCOLLADATemplate; 00017 class CSLCOLLADAScene; 00018 00019 00021 class XSIEXPORT CSLIntProxy : public CSLAnimatableType 00022 { 00023 public: 00027 CSLIntProxy(SI_Int* in_pValue); 00028 00033 CSLIntProxy(CdotXSITemplate *in_pTemplate, SI_Int in_nIndex ); 00034 00037 CSLIntProxy(); 00038 00043 CSLIntProxy& operator =(const CSLIntProxy &in_Value); 00044 00049 CSLIntProxy& operator =(const SI_Int &in_Value); 00050 00055 SI_Bool operator ==(const CSLIntProxy &in_ToCompare); 00056 00061 SI_Bool operator ==(const SI_Int &in_ToCompare); 00062 00064 operator SI_Int(); 00065 00069 virtual EElementType Type(); 00070 00074 virtual SI_Float GetFloatValue(); 00075 00079 virtual SI_Void SetFloatValue(SI_Float in_fValue); 00080 00086 virtual SI_Error Connect (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex ); 00087 00088 private: 00089 CSLIntProxy( CSLIntProxy &in_pBasicType ){} 00090 SI_Int* m_pValue; 00091 }; 00092 00093 #endif