Hi Lucian

Have a look at ./CCGS/tests/CellML2C.cpp

Regards,
Randall

> -----Original Message-----
> From: [email protected] [mailto:cellml-discussion-
> [email protected]] On Behalf Of Lucian Smith
> Sent: Saturday, 25 July 2009 6:40 a.m.
> To: CellML Discussion List
> Subject: Re: [cellml-discussion] 'Model' has pure virtual functions
> 
> * Andrew Miller <[email protected]> [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
> [email protected]
> http://www.cellml.org/mailman/listinfo/cellml-discussion

_______________________________________________
cellml-discussion mailing list
[email protected]
http://www.cellml.org/mailman/listinfo/cellml-discussion

Reply via email to