libroadrunner C API
|
Read and write models to files or strings. Support for SBML formats. More...
Functions | |
C_DECL_SPEC bool rrcCallConv | loadSBML (RRHandle handle, const char *sbml) |
Load a model from an SBML string. More... | |
C_DECL_SPEC bool rrcCallConv | loadSBMLEx (RRHandle handle, const char *sbml, bool forceRecompile) |
Load a model from an SBML string. More... | |
C_DECL_SPEC bool rrcCallConv | saveState (RRHandle handle, const char *filename) |
Save a road runner instance's state to a platform-specific binary file. More... | |
C_DECL_SPEC bool rrcCallConv | loadState (RRHandle handle, const char *filename) |
Reload a road runner instance's state saved by saveState. More... | |
C_DECL_SPEC bool rrcCallConv | loadSBMLFromFile (RRHandle handle, const char *fileName) |
Load a model from a SBML file. More... | |
C_DECL_SPEC bool rrcCallConv | loadSBMLFromFileE (RRHandle handle, const char *fileName, bool forceRecompile) |
Load a model from a SBML file, force recompilation. More... | |
C_DECL_SPEC bool rrcCallConv | clearModel (RRHandle handle) |
Unload current model. More... | |
C_DECL_SPEC bool rrcCallConv | isModelLoaded (RRHandle handle) |
check if a model is loaded More... | |
C_DECL_SPEC bool rrcCallConv | loadSimulationSettings (RRHandle handle, const char *fileName) |
Load simulation settings from a file. More... | |
C_DECL_SPEC char *rrcCallConv | getCurrentSBML (RRHandle handle) |
Retrieve the current state of the model in the form of an SBML string. More... | |
C_DECL_SPEC char *rrcCallConv | getSBML (RRHandle handle) |
Retrieve the SBML model that was last loaded into roadRunner. More... | |
Read and write models to files or strings. Support for SBML formats.
C_DECL_SPEC bool rrcCallConv clearModel | ( | RRHandle | handle | ) |
Unload current model.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC char* rrcCallConv getCurrentSBML | ( | RRHandle | handle | ) |
Retrieve the current state of the model in the form of an SBML string.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC char* rrcCallConv getSBML | ( | RRHandle | handle | ) |
Retrieve the SBML model that was last loaded into roadRunner.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC bool rrcCallConv isModelLoaded | ( | RRHandle | handle | ) |
check if a model is loaded
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC bool rrcCallConv loadSBML | ( | RRHandle | handle, |
const char * | sbml | ||
) |
Load a model from an SBML string.
[in] | handle | Handle to a RoadRunner instance |
[in] | sbml | string |
C_DECL_SPEC bool rrcCallConv loadSBMLEx | ( | RRHandle | handle, |
const char * | sbml, | ||
bool | forceRecompile | ||
) |
Load a model from an SBML string.
[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 |
C_DECL_SPEC bool rrcCallConv loadSBMLFromFile | ( | RRHandle | handle, |
const char * | fileName | ||
) |
Load a model from a SBML file.
[in] | handle | Handle to a RoadRunner instance |
[in] | fileName | file name (or full path) to file that holds the SBML model |
C_DECL_SPEC bool rrcCallConv loadSBMLFromFileE | ( | RRHandle | handle, |
const char * | fileName, | ||
bool | forceRecompile | ||
) |
Load a model from a SBML file, force recompilation.
[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 |
C_DECL_SPEC bool rrcCallConv loadSimulationSettings | ( | RRHandle | handle, |
const char * | fileName | ||
) |
Load simulation settings from a file.
[in] | handle | Handle to a RoadRunner instance |
[in] | fileName | file name (or full path) to file that holds simulation settings |
C_DECL_SPEC bool rrcCallConv loadState | ( | RRHandle | handle, |
const char * | filename | ||
) |
Reload a road runner instance's state saved by saveState.
[in] | handle | Handle to the RoadRunner instance to be loaded into |
[in] | filename | path to the file to be loaded from |
C_DECL_SPEC bool rrcCallConv saveState | ( | RRHandle | handle, |
const char * | filename | ||
) |
Save a road runner instance's state to a platform-specific binary file.
[in] | handle | Handle to the RoadRunner instance to be saved |
[in] | filename | path to the file to be saved to |