the JobDependencies class. More...
#include <OSOption.h>
Public Member Functions | |
JobDependencies () | |
Default constructor. More... | |
~JobDependencies () | |
Class destructor. More... | |
bool | IsEqual (JobDependencies *that) |
A function to check for the equality of two objects. More... | |
bool | setRandom (double density, bool conformant) |
A function to make a random instance of this class. More... | |
bool | deepCopyFrom (JobDependencies *that) |
A function to make a deep copy of an instance of this class. More... | |
bool | setJobID (int numberOfJobIDs, std::string *jobID) |
A function to set an array of <jobID> elements. More... | |
bool | addJobID (std::string jobID) |
A function to add an <jobID> element. More... | |
Public Attributes | |
int | numberOfJobIDs |
the number of entries in the list of job dependencies More... | |
std::string * | jobID |
the list of job IDs More... | |
the JobDependencies class.
Definition at line 709 of file OSOption.h.
JobDependencies::JobDependencies | ( | ) |
Default constructor.
Definition at line 264 of file OSOption.cpp.
JobDependencies::~JobDependencies | ( | ) |
Class destructor.
Definition at line 273 of file OSOption.cpp.
bool JobDependencies::IsEqual | ( | JobDependencies * | that | ) |
A function to check for the equality of two objects.
Definition at line 10361 of file OSOption.cpp.
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" attributes and <XXX> children) |
Definition at line 12518 of file OSOption.cpp.
bool JobDependencies::deepCopyFrom | ( | JobDependencies * | that | ) |
A function to make a deep copy of an instance of this class.
that,: | the instance from which information is to be copied |
Definition at line 13634 of file OSOption.cpp.
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 4677 of file OSOption.cpp.
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 4712 of file OSOption.cpp.
int JobDependencies::numberOfJobIDs |
the number of entries in the list of job dependencies
Definition at line 714 of file OSOption.h.
std::string* JobDependencies::jobID |
the list of job IDs
Definition at line 717 of file OSOption.h.