OtherVarResult Class. More...
#include <OSResult.h>
Public Member Functions | |
OtherVarResult () | |
Default constructor. More... | |
~OtherVarResult () | |
Class destructor. More... | |
bool | IsEqual (OtherVarResult *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... | |
OtherVarResult () | |
Default constructor. More... | |
~OtherVarResult () | |
Class destructor. More... | |
Public Attributes | |
int | idx |
the index of a variable in the solution More... | |
std::string | name |
optional name More... | |
std::string | value |
value holds a general value associated with a variable, for example, rather than the value of a variable we may wish to store the variable name associated with the variable with index idx, hence we want a string here and not a double More... | |
OtherVarResult Class.
Definition at line 1065 of file OSResult.h.
OtherVarResult::OtherVarResult | ( | ) |
Default constructor.
Definition at line 504 of file OSResult.cpp.
OtherVarResult::~OtherVarResult | ( | ) |
Class destructor.
Definition at line 515 of file OSResult.cpp.
OtherVarResult::OtherVarResult | ( | ) |
Default constructor.
OtherVarResult::~OtherVarResult | ( | ) |
Class destructor.
bool OtherVarResult::IsEqual | ( | OtherVarResult * | that | ) |
A function to check for the equality of two objects.
Definition at line 8757 of file OSResult.cpp.
bool OtherVarResult::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 10389 of file OSResult.cpp.
int OtherVarResult::idx |
the index of a variable in the solution
Definition at line 1070 of file OSResult.h.
std::string OtherVarResult::name |
optional name
Definition at line 1073 of file OSResult.h.
std::string OtherVarResult::value |
value holds a general value associated with a variable, for example, rather than the value of a variable we may wish to store the variable name associated with the variable with index idx, hence we want a string here and not a double
value holds a general value for a variable, for example, rather than the value of a variable we may wish to store the variable name associated with the vairable with index idx, hence we want a string here and not a double
Definition at line 1081 of file OSResult.h.