the Processes class.
More...
#include <OSOption.h>
the Processes class.
- Author
- Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
- Version
- 1.0, 21/07/2008
- Since
- OS 1.1
Definition at line 993 of file OSOption.h.
§ Processes()
§ ~Processes()
Processes::~Processes |
( |
| ) |
|
§ IsEqual()
A function to check for the equality of two objects.
§ setRandom()
bool Processes::setRandom |
( |
double |
density, |
|
|
bool |
conformant |
|
) |
| |
A function to make a random instance of this class.
- Parameters
-
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) |
§ deepCopyFrom()
bool Processes::deepCopyFrom |
( |
Processes * |
that | ) |
|
A function to make a deep copy of an instance of this class.
- Parameters
-
that | the instance from which information is to be copied |
- Returns
- whether the copy was created successfully
§ setProcess()
bool Processes::setProcess |
( |
int |
numberOfProcesses, |
|
|
std::string * |
process |
|
) |
| |
A function to set an array of <process> elements.
- Parameters
-
numberOfProcesses | number of <process> elements to be set |
path | the array of <process> elements that are to be set |
§ addProcess()
bool Processes::addProcess |
( |
std::string |
process | ) |
|
A function to add a <process> element.
- Parameters
-
process | the ID of the process to be added |
§ numberOfProcesses
int Processes::numberOfProcesses |
the number of <process> children
Definition at line 998 of file OSOption.h.
§ process
std::string* Processes::process |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/OS-2.10.1/src/OSCommonInterfaces/OSOption.h