- From: lpsmith at spod-central.org (Lucian Smith)
- Subject: [cellml-discussion] The CellML library basics
- Date: Tue, 28 Jul 2009 00:53:47 +0100
* Justin Marsh <j.marsh at auckland.ac.nz> [2009-07-28 00:31] writes:
>
Hi Lucian,
>
>
The basic C++ should have two functions for each member attribute,
>
named after the attribute; one with no arguments, which returns the
>
value of the attribute, and one with one argument which sets the value
>
of the attribute.
>
>
So, to set the name you would call
>
model->name(L"modelname");
>
And to get the name, you would call
>
model->name();
>
>
These specific functions are located in
>
./sources/cellml/CellMLImplementation.cpp
Thanks! Is there information like this in the documentation somewhere?
I'd rather not have to bug you all every time I have a basic question like
this.
-Lucian
Archive powered by MHonArc 2.6.18.