#include <ParametricExecution.hpp>
Public Member Functions | |
ParametricExecution (string execDescriptor) | |
void | dumpSpecs () |
int | getNumExecs () |
string | getAppId () |
string | getAppPreferences () |
string | getAppConstraints () |
string | getCommandLine (int index) |
Private Member Functions | |
void | parseAppId (ifstream &ifs) |
void | parseCommandLines (ifstream &ifs) |
void | parseAppPrefs (ifstream &ifs) |
void | parseAppConstraints (ifstream &ifs) |
void | filterComments (string &str) |
Private Attributes | |
string | appId |
string | appConstraints |
string | appPreferences |
int | numExecs |
std::vector< std::string > | argList |
ParametricExecution parses a parametric execution descriptor file, resulting in an object that holds the parametric execution's details.
|
Creates a ParametricExecution object based on a given execution descriptor
|
|
Dump the object's content. For debugging purposes. |
|
Removes Unix-like comments ('#') from a string
|
|
|
|
|
|
|
|
Get one command line of the parametric execution.
|
|
|
|
Scans a configfile, ignoring comments, and parse application preferences
|
|
Scans a configfile until a non-comment is found. WARNING: No kind of id validation is performed
|
|
Scans a configfile, ignoring comments, and parse application preferences
|
|
Scans a configfile, ignoring comments, and parse all comand lines in the config file. NOTE: A command line is assumed to be on a single line
|
|
Application Constraints (written in TCL) |
|
The parametric application to be executed |
|
Application Preferences (written in TCL) |
|
Vector of the different argument lines of the application |
|
Number of copies to be launched |