#include <OSOption.h>
Public Member Functions | |
JobDependencies () | |
Default constructor. | |
~JobDependencies () | |
Class destructor. | |
bool | IsEqual (JobDependencies *that) |
A function to check for the equality of two objects. | |
bool | setRandom (double density, bool conformant) |
A function to make a random instance of this class. | |
bool | setJobID (int numberOfJobIDs, std::string *jobID) |
A function to set an array of <jobID> elements. | |
bool | addJobID (std::string jobID) |
A function to add an <jobID> element. | |
Public Attributes | |
int | numberOfJobIDs |
the number of entries in the list of job dependencies | |
std::string * | jobID |
the list of job IDs |
Definition at line 659 of file OSOption.h.
JobDependencies::JobDependencies | ( | ) |
JobDependencies::~JobDependencies | ( | ) |
bool JobDependencies::IsEqual | ( | JobDependencies * | that | ) |
A function to check for the equality of two objects.
Definition at line 9428 of file OSOption.cpp.
References jobID, and numberOfJobIDs.
bool JobDependencies::setRandom | ( | double | density, | |
bool | conformant | |||
) |
A function to make a random instance of this class.
density,: | corresponds to the probability that a particular child element is created | |
conformant,: | if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" atrbutes and <XXX> children) |
Definition at line 11386 of file OSOption.cpp.
References jobID, n, numberOfJobIDs, and OSRand().
Referenced by JobOption::setRandom().
bool JobDependencies::setJobID | ( | int | numberOfJobIDs, | |
std::string * | jobID | |||
) |
A function to set an array of <jobID> elements.
numberOfJobIDs,: | number of <jobID> elements to be set | |
jobID,: | the array of <jobID> elements that are to be set |
Definition at line 4581 of file OSOption.cpp.
Referenced by OSOption::setJobDependencies().
bool JobDependencies::addJobID | ( | std::string | jobID | ) |
A function to add an <jobID> element.
jobID,: | the name of the <jobID> element to be added |
Definition at line 4614 of file OSOption.cpp.
References numberOfJobIDs.
Referenced by OSOption::setAnotherJobDependency().
the number of entries in the list of job dependencies
Definition at line 664 of file OSOption.h.
Referenced by addJobID(), OSOption::getNumberOfJobDependencies(), IsEqual(), and setRandom().
std::string* JobDependencies::jobID |
the list of job IDs
Definition at line 667 of file OSOption.h.
Referenced by OSOption::getJobDependencies(), IsEqual(), JobDependencies(), OSOption::setJobDependencies(), setRandom(), and ~JobDependencies().