#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 1687 of file OSResult.h.
| OtherConstraintResult::OtherConstraintResult | ( | ) |
| OtherConstraintResult::~OtherConstraintResult | ( | ) |
| OtherConstraintResult::OtherConstraintResult | ( | ) |
Default constructor.
| OtherConstraintResult::~OtherConstraintResult | ( | ) |
Class destructor.
| bool OtherConstraintResult::IsEqual | ( | OtherConstraintResult * | that | ) |
| 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 8167 of file OSResult.cpp.
References con, enumeration, 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 1693 of file OSResult.h.
Referenced by ~OtherConstraintResult().
the number of distinct values for this particular type of result
Definition at line 1698 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultEnumerationDescription(), OSResult::getOtherConstraintResultEnumerationEl(), OSResult::getOtherConstraintResultEnumerationNumberOfEl(), OSResult::getOtherConstraintResultEnumerationValue(), OSResult::setOtherOptionEnumeration(), and tempPrintArrays().
| std::string OtherConstraintResult::name |
| std::string OtherConstraintResult::value |
this element allows a specific value associated with this particular type of result
Definition at line 1706 of file OSResult.h.
| std::string OtherConstraintResult::description |
Definition at line 1716 of file OSResult.h.
Referenced by setRandom(), and ~OtherConstraintResult().
Definition at line 1722 of file OSResult.h.
Referenced by OSResult::getOtherConstraintResultEnumerationDescription(), OSResult::getOtherConstraintResultEnumerationEl(), OSResult::getOtherConstraintResultEnumerationNumberOfEl(), OSResult::getOtherConstraintResultEnumerationValue(), OSResult::setOtherOptionEnumeration(), setRandom(), and tempPrintArrays().
| std::vector<OtherConResult*> OtherConstraintResult::con |
Definition at line 1067 of file OSResult.h.
1.4.7