SL_Int.h

00001 //***************************************************************************************
00002 //
00003 // File supervisor: Softimage 3D Games & 3D Bridge team
00004 //
00005 // (c) Copyright 2001-2002 Avid Technology, Inc. . All rights reserved.
00006 //
00007 //***************************************************************************************
00008 
00009 /****************************************************************************************
00010 THIS CODE IS PUBLISHED AS A SAMPLE ONLY AND IS PROVIDED "AS IS".
00011 IN NO EVENT SHALL SOFTIMAGE, AVID TECHNOLOGY, INC. AND/OR THEIR RESPECTIVE
00012 SUPPLIERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
00013 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
00014 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
00015 CONNECTION WITH THE USE OR PERFORMANCE OF THIS CODE .
00016 
00017 COPYRIGHT NOTICE. Copyright © 1999-2002 Avid Technology Inc. . All rights reserved. 
00018 
00019 SOFTIMAGE is a registered trademark of Avid Technology Inc. or its subsidiaries 
00020 or divisions. Windows NT is a registered trademark of Microsoft Corp. All other
00021 trademarks contained herein are the property of their respective owners. 
00022 ****************************************************************************************/
00023 
00024 #ifndef _INT_H
00025 #define _INT_H
00026 
00027 #include "AnimatableType.h"
00028 class CCOLLADATemplate;
00029 class CSLCOLLADAScene;
00030 
00031 
00033 class XSIEXPORT CSLIntProxy : public CSLAnimatableType
00034 {
00035 public:
00039     CSLIntProxy(SI_Int* in_pValue);
00040 
00045     CSLIntProxy(CdotXSITemplate *in_pTemplate, SI_Int in_nIndex );
00046 
00049     CSLIntProxy();
00050 
00055     CSLIntProxy& operator =(const CSLIntProxy &in_Value);
00056 
00061     CSLIntProxy& operator =(const SI_Int &in_Value);
00062 
00067     SI_Bool operator ==(const CSLIntProxy &in_ToCompare);
00068 
00073     SI_Bool operator ==(const SI_Int &in_ToCompare);
00074 
00076     operator SI_Int();
00077 
00081     virtual EElementType Type();
00082 
00086     virtual SI_Float GetFloatValue();
00087 
00091     virtual SI_Void SetFloatValue(SI_Float in_fValue);
00092 
00098     virtual SI_Error        Connect (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex );
00099 
00100 private:
00101     CSLIntProxy( CSLIntProxy &in_pBasicType ){}
00102     SI_Int* m_pValue;
00103 };
00104 
00105 #endif