added setName
This commit is contained in:
parent
36f3254010
commit
46656e5e46
1 changed files with 2 additions and 1 deletions
|
|
@ -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. */
|
||||
//@{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue