#include <OSOption.h>
Collaboration diagram for OtherConOption:
Public Member Functions | |
OtherConOption () | |
Default constructor. | |
~OtherConOption () | |
Class destructor. | |
bool | IsEqual (OtherConOption *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 | idx |
variable index | |
std::string | name |
optional variable name | |
std::string | value |
value of the option | |
std::string | lbValue |
lower bound of the option | |
std::string | ubValue |
upper bound of the option |
Definition at line 2673 of file OSOption.h.
OtherConOption::OtherConOption | ( | ) |
OtherConOption::~OtherConOption | ( | ) |
bool OtherConOption::IsEqual | ( | OtherConOption * | that | ) |
bool OtherConOption::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 12103 of file OSOption.cpp.
References idx, lbValue, name, OSRand(), ubValue, and value.
Referenced by OtherConstraintOption::setRandom().
variable index
Definition at line 2678 of file OSOption.h.
Referenced by OtherConstraintOption::addCon(), IsEqual(), OSOption::setOtherConstraintOptionCon(), and setRandom().
std::string OtherConOption::name |
optional variable name
Definition at line 2681 of file OSOption.h.
Referenced by IsEqual(), OSOption::setOtherConstraintOptionCon(), and setRandom().
std::string OtherConOption::value |
value of the option
Definition at line 2684 of file OSOption.h.
Referenced by OtherConstraintOption::addCon(), IsEqual(), OSOption::setOtherConstraintOptionCon(), and setRandom().
std::string OtherConOption::lbValue |
lower bound of the option
Definition at line 2687 of file OSOption.h.
Referenced by OtherConstraintOption::addCon(), IsEqual(), OSOption::setOtherConstraintOptionCon(), and setRandom().
std::string OtherConOption::ubValue |
upper bound of the option
Definition at line 2690 of file OSOption.h.
Referenced by OtherConstraintOption::addCon(), IsEqual(), OSOption::setOtherConstraintOptionCon(), and setRandom().