#include <OSOption.h>
Public Member Functions | |
| Processes () | |
| Default constructor. More... | |
| ~Processes () | |
| Class destructor. More... | |
| bool | IsEqual (Processes *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 (Processes *that) |
| A function to make a deep copy of an instance of this class. More... | |
| bool | setProcess (int numberOfProcesses, std::string *process) |
| A function to set an array of <process> elements. More... | |
| bool | addProcess (std::string process) |
| A function to add a <process> element. More... | |
Public Attributes | |
| int | numberOfProcesses |
| the number of <process> children More... | |
| std::string * | process |
| the list of processes More... | |
the Processes class.
Definition at line 993 of file OSOption.h.
| Processes::Processes | ( | ) |
Default constructor.
Definition at line 356 of file OSOption.cpp.
| Processes::~Processes | ( | ) |
Class destructor.
Definition at line 365 of file OSOption.cpp.
| bool Processes::IsEqual | ( | Processes * | that | ) |
A function to check for the equality of two objects.
Definition at line 10574 of file OSOption.cpp.
| bool Processes::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 12590 of file OSOption.cpp.
| bool Processes::deepCopyFrom | ( | Processes * | 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 13709 of file OSOption.cpp.
| bool Processes::setProcess | ( | int | numberOfProcesses, |
| std::string * | process | ||
| ) |
A function to set an array of <process> elements.
| numberOfProcesses,: | number of <process> elements to be set |
| path,: | the array of <process> elements that are to be set |
Definition at line 4939 of file OSOption.cpp.
| bool Processes::addProcess | ( | std::string | process | ) |
A function to add a <process> element.
| process,: | the ID of the process to be added |
Definition at line 4974 of file OSOption.cpp.
| int Processes::numberOfProcesses |
the number of <process> children
Definition at line 998 of file OSOption.h.
| std::string* Processes::process |
the list of processes
Definition at line 1001 of file OSOption.h.
1.8.5