MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Mstring.h
Go to the documentation of this file.
1 /**********************************************************************
2 ** This program is part of 'MOOSE', the
3 ** Messaging Object Oriented Simulation Environment.
4 ** Copyright (C) 2003-2010 Upinder S. Bhalla. and NCBS
5 ** It is made available under the terms of the
6 ** GNU Lesser General Public License version 2.1
7 ** See the file COPYING.LIB for the full notice.
8 **********************************************************************/
9 #ifndef _M_STRING_H
10 #define _M_STRING_H
11 
12 class Mstring
13 {
14  public:
15  Mstring();
16  Mstring( string other );
17 
19  // Field assignment stuff.
21 
22  void setThis( string v );
23  string getThis() const;
24 
26  // Utility stuff
28  // const Mstring& operator=( const Mstring& other );
29  // string operator=( const Mstring& other );
30  // string operator=( const string& other );
31 
33 
34  static const Cinfo* initCinfo();
35  private:
36  string value_;
37 };
38 
39 #endif // _M_STRING_H
static const Cinfo * initCinfo()
Definition: Mstring.cpp:12
void setThis(string v)
Definition: Mstring.cpp:62
string value_
Definition: Mstring.h:36
string getThis() const
Definition: Mstring.cpp:67
Mstring()
Definition: Mstring.cpp:50
Definition: Cinfo.h:18