libroadrunner C API
|
Various miscellaneous routines that return useful information about the library. More...
Functions | |
C_DECL_SPEC char *rrcCallConv | getAPIVersion (void) |
Retrieve the current version number of the C wrappers library. More... | |
C_DECL_SPEC char *rrcCallConv | getCPPAPIVersion (RRHandle handle) |
Retrieve the current version number of the C++ wrappers (Core RoadRunner wrappers) library. More... | |
C_DECL_SPEC char *rrcCallConv | getExtendedAPIInfo () |
Retrieve extended wrappers info. More... | |
C_DECL_SPEC char *rrcCallConv | getBuildDate (void) |
Retrieve the current build date of the library. More... | |
C_DECL_SPEC char *rrcCallConv | getBuildTime (void) |
Retrieve the current build time (HH:MM:SS) of the library. More... | |
C_DECL_SPEC char *rrcCallConv | getBuildDateTime (void) |
Retrieve the current build date + time of the library. More... | |
C_DECL_SPEC char *rrcCallConv | getCopyright (void) |
Retrieve the current copyright notice for the library. More... | |
C_DECL_SPEC char *rrcCallConv | getInfo (RRHandle handle) |
Retrieve info about current state of roadrunner, e.g. loaded model, conservationAnalysis etc. More... | |
C_DECL_SPEC char *rrcCallConv | getlibSBMLVersion (RRHandle handle) |
Retrieve the current version number of the libSBML library. More... | |
C_DECL_SPEC bool rrcCallConv | setTempFolder (RRHandle handle, const char *folder) |
Set the path to the temporary folder where the C code will be stored. More... | |
C_DECL_SPEC char *rrcCallConv | getTempFolder (RRHandle handle) |
Retrieve the current temporary folder path. More... | |
C_DECL_SPEC char *rrcCallConv | getWorkingDirectory (void) |
Retrieve the current working directory path. More... | |
C_DECL_SPEC char *rrcCallConv | getRRCAPILocation (void) |
Retrieve the directory path of the shared rrCApi library. More... | |
C_DECL_SPEC bool rrcCallConv | setCompiler (RRHandle handle, const char *fNameWithPath) |
Set the path and filename to the compiler to be used by roadrunner. More... | |
C_DECL_SPEC char *rrcCallConv | getCompiler (RRHandle handle) |
Get the name of the compiler currently being used by roadrunner. | |
C_DECL_SPEC bool rrcCallConv | setCompilerLocation (RRHandle handle, const char *folder) |
Set the path to a folder containing the compiler to be used. More... | |
C_DECL_SPEC char *rrcCallConv | getCompilerLocation (RRHandle handle) |
Get the path to a folder containing the compiler being used. More... | |
C_DECL_SPEC bool rrcCallConv | setSupportCodeFolder (RRHandle handle, const char *folder) |
Set the path to a folder containing support code for model generation. More... | |
C_DECL_SPEC char *rrcCallConv | getSupportCodeFolder (RRHandle handle) |
Get the path to a folder containing support code. More... | |
C_DECL_SPEC bool rrcCallConv | setCodeGenerationMode (RRHandle handle, int mode) |
Set the runtime generation option [Not yet implemented]. More... | |
Various miscellaneous routines that return useful information about the library.
C_DECL_SPEC char* rrcCallConv getAPIVersion | ( | void | ) |
Retrieve the current version number of the C wrappers library.
C_DECL_SPEC char* rrcCallConv getBuildDate | ( | void | ) |
Retrieve the current build date of the library.
C_DECL_SPEC char* rrcCallConv getBuildDateTime | ( | void | ) |
Retrieve the current build date + time of the library.
C_DECL_SPEC char* rrcCallConv getBuildTime | ( | void | ) |
Retrieve the current build time (HH:MM:SS) of the library.
C_DECL_SPEC char* rrcCallConv getCompilerLocation | ( | RRHandle | handle | ) |
Get the path to a folder containing the compiler being used.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC char* rrcCallConv getCopyright | ( | void | ) |
Retrieve the current copyright notice for the library.
C_DECL_SPEC char* rrcCallConv getCPPAPIVersion | ( | RRHandle | handle | ) |
Retrieve the current version number of the C++ wrappers (Core RoadRunner wrappers) library.
[in] | handle | RoadRunner instance handle |
C_DECL_SPEC char* rrcCallConv getExtendedAPIInfo | ( | ) |
Retrieve extended wrappers info.
C_DECL_SPEC char* rrcCallConv getInfo | ( | RRHandle | handle | ) |
Retrieve info about current state of roadrunner, e.g. loaded model, conservationAnalysis etc.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC char* rrcCallConv getlibSBMLVersion | ( | RRHandle | handle | ) |
Retrieve the current version number of the libSBML library.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC char* rrcCallConv getRRCAPILocation | ( | void | ) |
Retrieve the directory path of the shared rrCApi library.
C_DECL_SPEC char* rrcCallConv getSupportCodeFolder | ( | RRHandle | handle | ) |
Get the path to a folder containing support code.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC char* rrcCallConv getTempFolder | ( | RRHandle | handle | ) |
Retrieve the current temporary folder path.
When RoadRunner 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 temporary folder path.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC char* rrcCallConv getWorkingDirectory | ( | void | ) |
Retrieve the current working directory path.
C_DECL_SPEC bool rrcCallConv setCodeGenerationMode | ( | RRHandle | handle, |
int | mode | ||
) |
Set the runtime generation option [Not yet implemented].
RoadRunner 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 RoadRunner generates C Code, if set to 1 RoadRunner uses its internal math interpreter. |
C_DECL_SPEC bool rrcCallConv 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 |
C_DECL_SPEC bool rrcCallConv 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 |
C_DECL_SPEC bool rrcCallConv 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 |
C_DECL_SPEC bool rrcCallConv setTempFolder | ( | RRHandle | handle, |
const char * | folder | ||
) |
Set the path to the temporary folder where the C code will be stored.
When RoadRunner 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 holding folder path |