SL_Byte.h

Go to the documentation of this file.
00001 //***************************************************************************************
00002 // File supervisor: Crosswalk team
00012 //***************************************************************************************
00013 
00014 #ifndef _SL_BYTE_H
00015 #define _SL_BYTE_H
00016 
00017 #include "AnimatableType.h" // CSLAnimatableType
00018 class CCOLLADATemplate;
00019 class CSLCOLLADAScene;
00020 
00023 class XSIEXPORT CSLByteProxy : public CSLAnimatableType
00024 {
00025 public:
00030     CSLByteProxy(CdotXSITemplate *in_pTemplate, SI_Int in_nIndex );
00031 
00036     CSLByteProxy& operator =(const CSLByteProxy &in_Value);
00037 
00042     CSLByteProxy& operator =(const SI_Byte &in_Value);
00043 
00048     SI_Bool operator ==(const CSLByteProxy &in_ToCompare);
00049 
00054     SI_Bool operator ==(const SI_Byte &in_ToCompare);
00055 
00057     operator SI_Byte();
00058 
00062     virtual EElementType Type();
00063 
00067     virtual SI_Float GetFloatValue();
00068 
00072     virtual SI_Void SetFloatValue(SI_Float in_fValue);
00073 
00079     virtual SI_Error Connect (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex );
00080 
00081 private:
00082     CSLByteProxy( CSLByteProxy &in_pBasicType ){}
00083     SI_Byte* m_pValue;
00084 };
00085 
00087 
00089 class XSIEXPORT CSLUByteProxy : public CSLAnimatableType
00090 {
00091 public:
00096     CSLUByteProxy(CdotXSITemplate *in_pTemplate, SI_Int in_nIndex );
00097 
00102     CSLUByteProxy& operator =(const CSLUByteProxy &in_Value);
00103 
00108     CSLUByteProxy& operator =(const SI_UByte &in_Value);
00109 
00114     SI_Bool operator ==(const CSLUByteProxy &in_ToCompare);
00115 
00120     SI_Bool operator ==(const SI_UByte &in_ToCompare);
00121 
00123     operator SI_UByte();
00124 
00128     virtual EElementType Type();
00129 
00133     virtual SI_Float GetFloatValue();
00134 
00138     virtual SI_Void SetFloatValue(SI_Float in_fValue);
00139 
00145     virtual SI_Error Connect (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex );
00146 
00147 private:
00148     CSLUByteProxy( CSLUByteProxy &in_pBasicType ){}
00149     SI_UByte* m_pValue;
00150 };
00151 
00152 #endif