The GeneralStatus Class. More...
#include <OSResult.h>
Public Member Functions | |
GeneralStatus () | |
Default constructor. More... | |
~GeneralStatus () | |
Class destructor. More... | |
bool | IsEqual (GeneralStatus *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... | |
GeneralStatus () | |
Default constructor. More... | |
~GeneralStatus () | |
Class destructor. More... | |
Public Attributes | |
int | numberOfSubstatuses |
the number of substatuses More... | |
std::string | type |
the type of status More... | |
std::string | description |
the description of the status More... | |
GeneralSubstatus ** | substatus |
the array of substatuses More... | |
std::vector< GeneralSubstatus * > | substatus |
the array of substatuses More... | |
The GeneralStatus Class.
Definition at line 105 of file OSResult.h.
GeneralStatus::GeneralStatus | ( | ) |
Default constructor.
Definition at line 51 of file OSResult.cpp.
GeneralStatus::~GeneralStatus | ( | ) |
Class destructor.
Definition at line 62 of file OSResult.cpp.
GeneralStatus::GeneralStatus | ( | ) |
Default constructor.
GeneralStatus::~GeneralStatus | ( | ) |
Class destructor.
bool GeneralStatus::IsEqual | ( | GeneralStatus * | that | ) |
A function to check for the equality of two objects.
Definition at line 7597 of file OSResult.cpp.
bool GeneralStatus::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 9766 of file OSResult.cpp.
int GeneralStatus::numberOfSubstatuses |
the number of substatuses
Definition at line 111 of file OSResult.h.
std::string GeneralStatus::type |
the type of status
Definition at line 114 of file OSResult.h.
std::string GeneralStatus::description |
the description of the status
Definition at line 117 of file OSResult.h.
GeneralSubstatus** GeneralStatus::substatus |
the array of substatuses
Definition at line 120 of file OSResult.h.
std::vector<GeneralSubstatus*> GeneralStatus::substatus |
the array of substatuses
Definition at line 84 of file OSResult.h.