#include <OSResult.h>
Collaboration diagram for OtherConstraintResult:
Public Member Functions | |
OtherConstraintResult () | |
Default constructor. | |
~OtherConstraintResult () | |
Class destructor. | |
bool | IsEqual (OtherConstraintResult *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. | |
OtherConstraintResult () | |
Default constructor. | |
~OtherConstraintResult () | |
Class destructor. | |
Public Attributes | |
int | numberOfCon |
the number of constraints which have values for this particular type of result | |
int | numberOfEnumerations |
the number of distinct values for this particular type of result | |
std::string | name |
the name of the result the user is defining | |
std::string | value |
this element allows a specific value associated with this particular type of result | |
std::string | description |
a brief description of the type of result | |
OtherConResult ** | con |
OtherOptionEnumeration ** | enumeration |
std::vector< OtherConResult * > | con |
Definition at line 1737 of file OSResult.h.
OtherConstraintResult::OtherConstraintResult | ( | ) |
OtherConstraintResult::~OtherConstraintResult | ( | ) |
Class destructor.
Definition at line 858 of file OSResult.cpp.
References con, enumeration, numberOfCon, and numberOfEnumerations.
OtherConstraintResult::OtherConstraintResult | ( | ) |
Default constructor.
OtherConstraintResult::~OtherConstraintResult | ( | ) |
Class destructor.
bool OtherConstraintResult::IsEqual | ( | OtherConstraintResult * | that | ) |
A function to check for the equality of two objects.
Definition at line 7558 of file OSResult.cpp.
References con, description, enumeration, name, numberOfCon, numberOfEnumerations, and value.
bool OtherConstraintResult::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 8853 of file OSResult.cpp.
References con, enumeration, n, numberOfCon, numberOfEnumerations, OSRand(), OtherOptionEnumeration::setRandom(), and OtherConResult::setRandom().
Referenced by ConstraintSolution::setRandom().
the number of constraints which have values for this particular type of result
Definition at line 1744 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultCon(), OSResult::getOtherConstraintResultConIdx(), OSResult::getOtherConstraintResultNumberOfCon(), IsEqual(), OSResult::setOtherConstraintResultNumberOfCon(), setRandom(), and ~OtherConstraintResult().
the number of distinct values for this particular type of result
Definition at line 1749 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultEnumerationDescription(), OSResult::getOtherConstraintResultEnumerationEl(), OSResult::getOtherConstraintResultEnumerationNumberOfEl(), OSResult::getOtherConstraintResultEnumerationValue(), OSResult::getOtherConstraintResultNumberOfEnumerations(), IsEqual(), OSResult::setOtherConstraintResultNumberOfEnumerations(), OSResult::setOtherOptionEnumeration(), setRandom(), tempPrintArrays(), and ~OtherConstraintResult().
std::string OtherConstraintResult::name |
the name of the result the user is defining
Definition at line 1752 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultName(), IsEqual(), and OSResult::setOtherConstraintResultName().
std::string OtherConstraintResult::value |
this element allows a specific value associated with this particular type of result
Definition at line 1757 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultValue(), IsEqual(), and OSResult::setOtherConstraintResultValue().
std::string OtherConstraintResult::description |
a brief description of the type of result
Definition at line 1760 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultDescription(), IsEqual(), and OSResult::setOtherConstraintResultDescription().
Definition at line 1767 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultCon(), OSResult::getOtherConstraintResultConIdx(), IsEqual(), OSResult::setOtherConstraintResultCon(), OSResult::setOtherConstraintResultConIdx(), OSResult::setOtherConstraintResultConName(), OSResult::setOtherConstraintResultNumberOfCon(), setRandom(), and ~OtherConstraintResult().
Definition at line 1773 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultEnumerationDescription(), OSResult::getOtherConstraintResultEnumerationEl(), OSResult::getOtherConstraintResultEnumerationNumberOfEl(), OSResult::getOtherConstraintResultEnumerationValue(), IsEqual(), OSResult::setOtherConstraintResultNumberOfEnumerations(), OSResult::setOtherOptionEnumeration(), setRandom(), tempPrintArrays(), and ~OtherConstraintResult().
std::vector<OtherConResult*> OtherConstraintResult::con |
Definition at line 1067 of file OSResult.h.