SL_Long.h

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 _LONG_H
00013 #define _LONG_H
00014 
00015 #include "AnimatableType.h" // CSLAnimatableType
00016 class CCOLLADATemplate;
00017 class CSLCOLLADAScene;
00018 
00020 class XSIEXPORT CSLLongProxy : public CSLAnimatableType
00021 {
00022 public:
00027     CSLLongProxy(CdotXSITemplate *in_pTemplate, SI_Int in_nIndex );
00028 
00033     CSLLongProxy& operator =(const CSLLongProxy &in_Value);
00034     
00039     CSLLongProxy& operator =(const SI_Long &in_Value);
00040 
00045     SI_Bool operator ==(const CSLLongProxy &in_ToCompare);
00046     
00051     SI_Bool operator ==(const SI_Long &in_ToCompare);
00052 
00054     operator SI_Long();
00055 
00059     virtual EElementType Type();
00060 
00064     virtual SI_Float GetFloatValue();
00065 
00069     virtual SI_Void SetFloatValue(SI_Float in_fValue);
00070 
00076     virtual SI_Error    Connect (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex );
00077 
00078 private:
00079     CSLLongProxy( CSLLongProxy &in_pBasicType ){}
00080     SI_Long* m_pValue;
00081 };
00082 
00083 
00084 #endif