SL_Short.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 _SHORT_H
00013 #define _SHORT_H
00014 
00015 #include "AnimatableType.h" // CSLAnimatableType
00016 class CCOLLADATemplate;
00017 class CSLCOLLADAScene;
00018 
00020 class XSIEXPORT CSLShortProxy : public CSLAnimatableType
00021 {
00022 public:
00027     CSLShortProxy(CdotXSITemplate *in_pTemplate, SI_Int in_Index );
00028 
00033     CSLShortProxy& operator =(const CSLShortProxy &in_Value);
00034 
00039     CSLShortProxy& operator =(const SI_Short &in_Value);
00040 
00045     SI_Bool operator ==(const CSLShortProxy &in_ToCompare);
00046 
00051     SI_Bool operator ==(const SI_Short &in_ToCompare);
00052 
00054     operator SI_Short();
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     CSLShortProxy( CSLShortProxy &in_pBasicType ){}
00080     SI_Short* m_pValue;
00081 };
00082 
00083 
00084 #endif