#include <OSResult.h>
Collaboration diagram for GeneralSubstatus:
Public Member Functions | |
GeneralSubstatus () | |
Default constructor. | |
~GeneralSubstatus () | |
Class destructor. | |
bool | IsEqual (GeneralSubstatus *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. | |
GeneralSubstatus () | |
Default constructor. | |
~GeneralSubstatus () | |
Class destructor. | |
Public Attributes | |
std::string | name |
the name of the substatus | |
std::string | description |
the description of the substatus |
Definition at line 54 of file OSResult.h.
GeneralSubstatus::GeneralSubstatus | ( | ) |
GeneralSubstatus::~GeneralSubstatus | ( | ) |
GeneralSubstatus::GeneralSubstatus | ( | ) |
Default constructor.
GeneralSubstatus::~GeneralSubstatus | ( | ) |
Class destructor.
bool GeneralSubstatus::IsEqual | ( | GeneralSubstatus * | that | ) |
A function to check for the equality of two objects.
Definition at line 6031 of file OSResult.cpp.
References description, and name.
bool GeneralSubstatus::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 8018 of file OSResult.cpp.
References OSRand().
Referenced by GeneralStatus::setRandom().
std::string GeneralSubstatus::name |
the name of the substatus
Definition at line 60 of file OSResult.h.
Referenced by OSResult::getGeneralSubstatusName(), IsEqual(), and OSrLWriter::writeOSrL().
std::string GeneralSubstatus::description |
the description of the substatus
Definition at line 63 of file OSResult.h.
Referenced by OSResult::getGeneralSubstatusDescription(), IsEqual(), and OSrLWriter::writeOSrL().