#include <OSResult.h>
Collaboration diagram for OtherResults:
Public Member Functions | |
OtherResults () | |
Default constructor. | |
~OtherResults () | |
Class destructor. | |
bool | IsEqual (OtherResults *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. | |
Public Attributes | |
int | numberOfOtherResults |
the number of other results | |
OtherResult ** | other |
the array of other results |
Definition at line 216 of file OSResult.h.
OtherResults::OtherResults | ( | ) |
OtherResults::~OtherResults | ( | ) |
Class destructor.
Definition at line 111 of file OSResult.cpp.
References numberOfOtherResults, and other.
bool OtherResults::IsEqual | ( | OtherResults * | that | ) |
A function to check for the equality of two objects.
Definition at line 6077 of file OSResult.cpp.
References numberOfOtherResults, and other.
bool OtherResults::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 8029 of file OSResult.cpp.
References n, numberOfOtherResults, OSRand(), other, and OtherResult::setRandom().
Referenced by JobResult::setRandom(), ServiceResult::setRandom(), SystemResult::setRandom(), and GeneralResult::setRandom().
the number of other results
Definition at line 222 of file OSResult.h.
Referenced by OSResult::getNumberOfOtherGeneralResults(), OSResult::getNumberOfOtherJobResults(), OSResult::getNumberOfOtherServiceResults(), OSResult::getNumberOfOtherSystemResults(), OSResult::getOtherGeneralResultDescription(), OSResult::getOtherGeneralResultName(), OSResult::getOtherGeneralResultValue(), OSResult::getOtherJobResultDescription(), OSResult::getOtherJobResultName(), OSResult::getOtherJobResultValue(), OSResult::getOtherServiceResultDescription(), OSResult::getOtherServiceResultName(), OSResult::getOtherServiceResultValue(), OSResult::getOtherSystemResultDescription(), OSResult::getOtherSystemResultName(), OSResult::getOtherSystemResultValue(), IsEqual(), OSResult::setNumberOfOtherGeneralResults(), OSResult::setNumberOfOtherJobResults(), OSResult::setNumberOfOtherServiceResults(), OSResult::setNumberOfOtherSystemResults(), setRandom(), OSrLWriter::writeOSrL(), and ~OtherResults().
the array of other results
Definition at line 225 of file OSResult.h.
Referenced by OSResult::getOtherGeneralResultDescription(), OSResult::getOtherGeneralResultName(), OSResult::getOtherGeneralResultValue(), OSResult::getOtherJobResultDescription(), OSResult::getOtherJobResultName(), OSResult::getOtherJobResultValue(), OSResult::getOtherServiceResultDescription(), OSResult::getOtherServiceResultName(), OSResult::getOtherServiceResultValue(), OSResult::getOtherSystemResultDescription(), OSResult::getOtherSystemResultName(), OSResult::getOtherSystemResultValue(), IsEqual(), OSResult::setNumberOfOtherGeneralResults(), OSResult::setNumberOfOtherJobResults(), OSResult::setNumberOfOtherServiceResults(), OSResult::setNumberOfOtherSystemResults(), setRandom(), OSrLWriter::writeOSrL(), and ~OtherResults().