Read and write models to files or strings. Support for SBML formats.
More...
Read and write models to files or strings. Support for SBML formats.
Retrieve the current state of the model in the form of an SBML string.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns null if the call fails, otherwise returns a pointer to the SBML string
Retrieve the SBML model that was last loaded into roadRunner.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns null if the call fails, otherwise returns a pointer to the SBML string
check if a model is loaded
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns true/false indicating whether a model is loaded or not
bool loadSBML |
( |
RRHandle |
handle, |
|
|
const char * |
sbml |
|
) |
| |
Load a model from an SBML string.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
[in] | sbml | string |
- Returns
- Returns true if sucessful
bool loadSBMLEx |
( |
RRHandle |
handle, |
|
|
const char * |
sbml, |
|
|
bool |
forceRecompile |
|
) |
| |
Load a model from an SBML string.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
[in] | sbml | string |
[in] | forceRecompile | boolean. True means the model is recompiled. False causes roadrunner to use an already compiled model |
- Returns
- Returns true if sucessful
bool loadSBMLFromFile |
( |
RRHandle |
handle, |
|
|
const char * |
fileName |
|
) |
| |
Load a model from a SBML file.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
[in] | fileName | file name (or full path) to file that holds the SBML model |
- Returns
- Returns true if sucessful
bool loadSBMLFromFileE |
( |
RRHandle |
handle, |
|
|
const char * |
fileName, |
|
|
bool |
forceRecompile |
|
) |
| |
Load a model from a SBML file, force recompilation.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
[in] | fileName | file name (or full path) to file that holds the SBML model |
[in] | forceRecompile | Boolean that forces recompilation if true. If false, no compilation occur if model dll exists |
- Returns
- Returns true if sucessful
bool loadSimulationSettings |
( |
RRHandle |
handle, |
|
|
const char * |
fileName |
|
) |
| |
Load simulation settings from a file.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
[in] | fileName | file name (or full path) to file that holds simulation settings |
- Returns
- Returns true if sucessful
Unload current model.
- Parameters
-
[in] | handle | Handle to a RoadRunner instance |
- Returns
- Returns true if sucessful