the OtherOptions class. More...
#include <OSOption.h>

Public Member Functions | |
| OtherOptions () | |
| Default constructor. More... | |
| ~OtherOptions () | |
| Class destructor. More... | |
| bool | IsEqual (OtherOptions *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 (OtherOptions *that) |
| A function to make a deep copy of an instance of this class. More... | |
| bool | setOther (int numberOfOptions, OtherOption **other) |
| A function to set an array of <other> elements. More... | |
| bool | addOther (std::string name, std::string value, std::string description) |
| A function to add an <other> element. More... | |
Public Attributes | |
| int | numberOfOtherOptions |
| the number of other options More... | |
| OtherOption ** | other |
| the list of other options More... | |
the OtherOptions class.
Definition at line 211 of file OSOption.h.
| OtherOptions::OtherOptions | ( | ) |
Default constructor.
Definition at line 84 of file OSOption.cpp.
| OtherOptions::~OtherOptions | ( | ) |
Class destructor.
Definition at line 93 of file OSOption.cpp.
| bool OtherOptions::IsEqual | ( | OtherOptions * | that | ) |
A function to check for the equality of two objects.
Definition at line 10070 of file OSOption.cpp.
| bool OtherOptions::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 12482 of file OSOption.cpp.
| bool OtherOptions::deepCopyFrom | ( | OtherOptions * | 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 13597 of file OSOption.cpp.
| bool OtherOptions::setOther | ( | int | numberOfOptions, |
| OtherOption ** | other | ||
| ) |
A function to set an array of <other> elements.
| numberOfOptions,: | number of <other> elements to be set |
| other,: | the array of <other> elements that are to be set |
setOther() set an array of <other> elements in <general>, <system>, <service> and <job>
Definition at line 4599 of file OSOption.cpp.
| bool OtherOptions::addOther | ( | std::string | name, |
| std::string | value, | ||
| std::string | description | ||
| ) |
A function to add an <other> element.
addOther() used to add an <other> element in <general>, <system>, <service>, <job> etc.
| name,: | the name of the <other> element to be added (required) |
| value,: | the value of the <other> element to be added (optional) |
| description,: | a description of the <other> element (optional) |
Definition at line 4633 of file OSOption.cpp.
| int OtherOptions::numberOfOtherOptions |
the number of other options
Definition at line 216 of file OSOption.h.
| OtherOption** OtherOptions::other |
the list of other options
Definition at line 219 of file OSOption.h.
1.8.5