Functions | |
void | ParseCommandLine (unsigned argc, char **argv, char *&runFileName, char *&prfFileName) throw (SPARK::XInitialization) |
Parses up to argc command-line arguments in argv[] to produce the names of the files with extensions "*.run" and "*.prf" as needed to run a statically-built problem. | |
void | ShowCommandLineUsage (std::ostream &os) |
Writes command-line usage of stand-alone SPARK engine for a statically-built problem to output stream os . | |
bool | Load (const char *pbName) |
Loads the statically-built problem named "pbName". |
These API functions are used to implement the driver function of the stand-alone SPARK engine.
|
Parses up to argc command-line arguments in argv[] to produce the names of the files with extensions "*.run" and "*.prf" as needed to run a statically-built problem. This function is used to extract the names of the *.run and *.prf files at the command line as required by a statically-built simulator, i.e. a simulator that does not need the *.xml file to load the problem description as it is compiled and linked along the driver function.
|
|
Writes command-line usage of stand-alone SPARK engine for a statically-built problem to output stream
|
|
Loads the statically-built problem named "pbName". By statically-built problem, we refer to a problem whose definition is compiled from the corresponding "problem.cpp" file and linked along with the solver library and driver function.
|