SL_Bool.h

Go to the documentation of this file.
00001 //***************************************************************************************
00002 // File supervisor: Crosswalk team
00012 //***************************************************************************************
00013 
00014 #ifndef _BOOL_H
00015 #define _BOOL_H
00016 
00017 #include "AnimatableType.h"     // CSLAnimatableType
00018 class CCOLLADATemplate;
00019 class CSLCOLLADAScene;
00020 
00023 class XSIEXPORT CSLBoolProxy : public CSLAnimatableType
00024 {
00025 public:
00030     CSLBoolProxy(CdotXSITemplate *in_pTemplate, SI_Int in_nIndex );
00031 
00036     CSLBoolProxy& operator =(const CSLBoolProxy &in_Value);
00037 
00042     CSLBoolProxy& operator =(const SI_Bool &in_Value);
00043 
00048     SI_Bool operator ==(const CSLBoolProxy &in_ToCompare);
00049 
00054     SI_Bool operator ==(const SI_Bool &in_ToCompare);
00055 
00058     operator SI_Bool();
00059 
00063     virtual EElementType Type();
00064 
00068     virtual SI_Float GetFloatValue();
00069 
00073     virtual SI_Void SetFloatValue(SI_Float in_fValue);
00074 
00080     virtual SI_Error Connect (CdotXSITemplate *in_pTemplate, SI_Int in_nIndex );
00081 
00082 private:
00083     CSLBoolProxy( CSLBoolProxy &in_pBasicType ){}
00084     SI_Bool* m_pValue;
00085 };
00086 
00087 #endif