added setName

This commit is contained in:
Dave Goodwin 2006-11-07 21:02:21 +00:00
parent 36f3254010
commit 46656e5e46

View file

@ -51,7 +51,8 @@ namespace CanteraZeroD {
//-----------------------------------------------------
virtual int type() const { return 0; }
string name() { return m_name; }
string name() const { return m_name; }
void setName(string name) { m_name = name; }
/** @name Methods to set up a simulation. */
//@{