libcellml
libcellml copied to clipboard
Create better access functions for the Unit class.
Now that we have a Unit
class, we should make better use of it: ie, making a units->unit(0) access etc. Also set/get methods for all the parameters stored. Currently the only way to "get" a Unit
item is by its create method: Unit(units, index)
which is out of step with everything else.