libRoadRunner C API
1.0.0
|
Various miscellaneous routines that return useful inforamtion about the library. More...
Functions | |
char * | getAPIVersion (void) |
Retrieve the current version number of the C API library. More... | |
char * | getCPPAPIVersion (RRHandle handle) |
Retrieve the current version number of the C++ API (Core RoadRunner API) library. More... | |
char * | getExtendedAPIInfo () |
Retrieve extended API info. More... | |
char * | getBuildDate (void) |
Retrieve the current build date of the library. More... | |
char * | getBuildTime (void) |
Retrieve the current build time (HH:MM:SS) of the library. More... | |
char * | getBuildDateTime (void) |
Retrieve the current build date + time of the library. More... | |
char * | getCopyright (void) |
Retrieve the current copyright notice for the library. More... | |
char * | getInfo (RRHandle handle) |
Retrieve info about current state of roadrunner, e.g. loaded model, conservationAnalysis etc. More... | |
char * | getlibSBMLVersion (RRHandle handle) |
Retrieve the current version number of the libSBML library. More... | |
bool | setTempFolder (RRHandle handle, const char *folder) |
Set the path to the temporary folder where the C code will be stored. More... | |
char * | getTempFolder (RRHandle handle) |
Retrieve the current temporary folder path. More... | |
char * | getWorkingDirectory (void) |
Retrieve the current working directory path. More... | |
char * | getRRCAPILocation (void) |
Retrieve the directory path of the shared rrCApi library. More... | |
bool | setCompiler (RRHandle handle, const char *fNameWithPath) |
Set the path and filename to the compiler to be used by roadrunner. More... | |
char * | getCompiler (RRHandle handle) |
Get the name of the compiler currently being used by roadrunner. | |
bool | setCompilerLocation (RRHandle handle, const char *folder) |
Set the path to a folder containing the compiler to be used. More... | |
char * | getCompilerLocation (RRHandle handle) |
Get the path to a folder containing the compiler being used. More... | |
bool | setSupportCodeFolder (RRHandle handle, const char *folder) |
Set the path to a folder containing support code for model generation. More... | |
char * | getSupportCodeFolder (RRHandle handle) |
Get the path to a folder containing support code. More... | |
bool | setCodeGenerationMode (RRHandle handle, int mode) |
Set the runtime generation option [Not yet implemented]. More... | |
Various miscellaneous routines that return useful inforamtion about the library.
char* getAPIVersion | ( | void | ) |
Retrieve the current version number of the C API library.
char* getBuildDate | ( | void | ) |
Retrieve the current build date of the library.
char* getBuildDateTime | ( | void | ) |
Retrieve the current build date + time of the library.
char* getBuildTime | ( | void | ) |
Retrieve the current build time (HH:MM:SS) of the library.
char* getCompilerLocation | ( | RRHandle | handle | ) |
Get the path to a folder containing the compiler being used.
[in] | handle | Handle to a RoadRunner instance |
char* getCopyright | ( | void | ) |
Retrieve the current copyright notice for the library.
char* getCPPAPIVersion | ( | RRHandle | handle | ) |
Retrieve the current version number of the C++ API (Core RoadRunner API) library.
[in] | handle | RoadRunner instance handle |
char* getExtendedAPIInfo | ( | ) |
Retrieve extended API info.
char* getInfo | ( | RRHandle | handle | ) |
Retrieve info about current state of roadrunner, e.g. loaded model, conservationAnalysis etc.
[in] | handle | Handle to a RoadRunner instance |
char* getlibSBMLVersion | ( | RRHandle | handle | ) |
Retrieve the current version number of the libSBML library.
[in] | handle | Handle to a RoadRunner instance |
char* getRRCAPILocation | ( | void | ) |
Retrieve the directory path of the shared rrCApi library.
char* getSupportCodeFolder | ( | RRHandle | handle | ) |
Get the path to a folder containing support code.
[in] | handle | Handle to a RoadRunner instance |
char* getTempFolder | ( | RRHandle | handle | ) |
Retrieve the current temporary folder path.
When cRoadRunner is run in C generation mode its uses a temporary folder to store the generate C source code. This method can be used to get the current value for the the temporary folder path.
[in] | handle | Handle to a RoadRunner instance |
char* getWorkingDirectory | ( | void | ) |
Retrieve the current working directory path.
bool setCodeGenerationMode | ( | RRHandle | handle, |
int | mode | ||
) |
Set the runtime generation option [Not yet implemented].
cRoadRunner can either execute a model by generating, compiling and linking self-generated C code or it can employ an internal interpreter to evaluate the model equations. The later method is useful when the OS forbids the compiling of externally generated code.
[in] | handle | Handle to a RoadRunner instance |
[in] | mode | is set to 0 cRoadRunner generates C Code, if set to 1 cRoadRunner uses its internal math interpreter. |
bool setCompiler | ( | RRHandle | handle, |
const char * | fNameWithPath | ||
) |
Set the path and filename to the compiler to be used by roadrunner.
[in] | handle | Handle to a RoadRunner instance |
[in] | fNameWithPath | Pointer to string holding the fileName and path to a compiler |
bool setCompilerLocation | ( | RRHandle | handle, |
const char * | folder | ||
) |
Set the path to a folder containing the compiler to be used.
[in] | handle | Handle to a RoadRunner instance |
[in] | folder | Pointer to string holding the path to a compiler |
bool setSupportCodeFolder | ( | RRHandle | handle, |
const char * | folder | ||
) |
Set the path to a folder containing support code for model generation.
[in] | handle | Handle to a RoadRunner instance |
[in] | folder | Pointer to string holding the path to the support code folder |
bool setTempFolder | ( | RRHandle | handle, |
const char * | folder | ||
) |
Set the path to the temporary folder where the C code will be stored.
When cRoadRunner is run in C generation mode its uses a temporary folder to store the generated C source code. This method can be used to set the temporary folder path if necessary.
[in] | handle | Handle to a RoadRunner instance |
[in] | folder | Pointer to string holdind folder path |