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