00001 //*************************************************************************************** 00002 // File supervisor: Crosswalk team 00012 //*************************************************************************************** 00013 00014 #ifndef _SL_STRING_H 00015 #define _SL_STRING_H 00016 00017 #include <SIBCUtil.h> // SI_Int, SI_Float and other basic types 00018 #include <dotXSITemplate.h> // CdotXSITemplate 00019 00022 class XSIEXPORT CSLStringProxy 00023 { 00024 public: 00029 CSLStringProxy(CdotXSITemplate *in_pTemplate, SI_Int in_Index ); 00030 00033 CSLStringProxy(); 00034 00040 SI_Error Connect(CdotXSITemplate *in_pTemplate, SI_Int in_nIndex ); 00041 00046 CSLStringProxy& operator =(const CSLStringProxy &in_Value); 00047 00052 CSLStringProxy& operator =(const char* in_Value); 00053 00059 SI_Bool operator ==(const CSLStringProxy& in_ToCompare); 00060 00066 SI_Bool operator ==(const char* in_ToCompare); 00067 00069 operator char* (); 00070 00071 private: 00072 char** m_ppValue; 00073 00074 // disable copy constructor 00075 CSLStringProxy( const CSLStringProxy &in_ToCopy ){}; 00076 }; 00077 00078 #endif