The GeneralSubstatus Class. More...
#include <OSResult.h>
Public Member Functions | |
GeneralSubstatus () | |
Default constructor. More... | |
~GeneralSubstatus () | |
Class destructor. More... | |
bool | IsEqual (GeneralSubstatus *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... | |
GeneralSubstatus () | |
Default constructor. More... | |
~GeneralSubstatus () | |
Class destructor. More... | |
Public Attributes | |
std::string | name |
the name of the substatus More... | |
std::string | description |
the description of the substatus More... | |
The GeneralSubstatus Class.
Definition at line 54 of file OSResult.h.
GeneralSubstatus::GeneralSubstatus | ( | ) |
Default constructor.
======== Constructor and destructor functions ======== (in the same order in which they appear in OSResult.h)
Definition at line 34 of file OSResult.cpp.
GeneralSubstatus::~GeneralSubstatus | ( | ) |
Class destructor.
Definition at line 43 of file OSResult.cpp.
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 7654 of file OSResult.cpp.
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" attributes and <XXX> children) |
Definition at line 9792 of file OSResult.cpp.
std::string GeneralSubstatus::name |
the name of the substatus
Definition at line 60 of file OSResult.h.
std::string GeneralSubstatus::description |
the description of the substatus
Definition at line 63 of file OSResult.h.