00001 /********************************************************************** 00002 ** This program is part of 'MOOSE', the 00003 ** Messaging Object Oriented Simulation Environment. 00004 ** Copyright (C) 2003-2010 Upinder S. Bhalla. and NCBS 00005 ** It is made available under the terms of the 00006 ** GNU Lesser General Public License version 2.1 00007 ** See the file COPYING.LIB for the full notice. 00008 **********************************************************************/ 00009 #ifndef _M_STRING_H 00010 #define _M_STRING_H 00011 00012 class Mstring 00013 { 00014 public: 00015 Mstring(); 00016 Mstring( string other ); 00017 00019 // Field assignment stuff. 00021 00022 void setThis( string v ); 00023 string getThis() const; 00024 00026 // Utility stuff 00028 // const Mstring& operator=( const Mstring& other ); 00029 // string operator=( const Mstring& other ); 00030 // string operator=( const string& other ); 00031 00033 00034 static const Cinfo* initCinfo(); 00035 private: 00036 string value_; 00037 }; 00038 00039 #endif // _M_STRING_H