* Andrew Miller <ak.mil...@auckland.ac.nz> [2009-07-24 01:55] writes:
> 
> Model is an interface, not a concrete class. The way the API works is 
> that you always work with interfaces, but you never directly create them 
> directly. Instead, you need to use one of the bootstrap methods to get 
> access to an interface for the first object, and then from there use the 
> interfaces to get to everything else you need (working with pointers).

Ah, OK.  That wasn't clear from the single Java example at 
http://cellml-api.sourceforge.net/

> See the test programs like the unit tests, and CellML2C, to get an idea 
> of how to call the API from C++.

That'd be great--where are they?  I didn't see them or references to them 
in the documentation.  Poking around in the source directory I found 
tests/ but I'm not sure what I'm looking at there.

-Lucian

_______________________________________________
cellml-discussion mailing list
cellml-discussion@cellml.org
http://www.cellml.org/mailman/listinfo/cellml-discussion

Reply via email to