#include <OSResult.h>
Collaboration diagram for GeneralStatus:
Public Member Functions | |
GeneralStatus () | |
Default constructor. | |
~GeneralStatus () | |
Class destructor. | |
bool | IsEqual (GeneralStatus *that) |
A function to check for the equality of two objects. | |
bool | setRandom (double density, bool conformant) |
A function to make a random instance of this class. | |
GeneralStatus () | |
Default constructor. | |
~GeneralStatus () | |
Class destructor. | |
Public Attributes | |
int | numberOfSubstatuses |
the number of substatuses | |
std::string | type |
the type of status | |
std::string | description |
the description of the status | |
GeneralSubstatus ** | substatus |
the array of substatuses | |
std::vector< GeneralSubstatus * > | substatus |
the array of substatuses |
Definition at line 105 of file OSResult.h.
GeneralStatus::GeneralStatus | ( | ) |
GeneralStatus::~GeneralStatus | ( | ) |
Class destructor.
Definition at line 66 of file OSResult.cpp.
References numberOfSubstatuses, and substatus.
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 5980 of file OSResult.cpp.
References description, numberOfSubstatuses, substatus, and type.
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" atrbutes and <XXX> children) |
Definition at line 7990 of file OSResult.cpp.
References n, numberOfSubstatuses, OSRand(), GeneralSubstatus::setRandom(), and substatus.
Referenced by GeneralResult::setRandom().
the number of substatuses
Definition at line 111 of file OSResult.h.
Referenced by OSResult::getGeneralSubstatusDescription(), OSResult::getGeneralSubstatusName(), OSResult::getNumberOfGeneralSubstatuses(), IsEqual(), OSResult::setNumberOfGeneralSubstatuses(), setRandom(), OSrLWriter::writeOSrL(), and ~GeneralStatus().
std::string GeneralStatus::type |
the type of status
Definition at line 114 of file OSResult.h.
Referenced by OSResult::getGeneralStatusType(), IsEqual(), and OSrLWriter::writeOSrL().
std::string GeneralStatus::description |
the description of the status
Definition at line 117 of file OSResult.h.
Referenced by OSResult::getGeneralStatusDescription(), IsEqual(), and OSrLWriter::writeOSrL().
the array of substatuses
Definition at line 120 of file OSResult.h.
Referenced by OSResult::getGeneralSubstatusDescription(), OSResult::getGeneralSubstatusName(), IsEqual(), OSResult::setNumberOfGeneralSubstatuses(), setRandom(), OSrLWriter::writeOSrL(), and ~GeneralStatus().
std::vector<GeneralSubstatus*> GeneralStatus::substatus |