#include <OSResult.h>
Collaboration diagram for VarValueString:
Public Member Functions | |
VarValueString () | |
Default constructor. | |
~VarValueString () | |
Class destructor. | |
bool | IsEqual (VarValueString *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 |
idx is the index on variable in the solution | |
std::string | name |
optional name | |
std::string | value |
Definition at line 955 of file OSResult.h.
VarValueString::VarValueString | ( | ) |
VarValueString::~VarValueString | ( | ) |
bool VarValueString::IsEqual | ( | VarValueString * | that | ) |
bool VarValueString::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 8549 of file OSResult.cpp.
References OSRand().
Referenced by VariableValuesString::setRandom().
idx is the index on variable in the solution
Definition at line 960 of file OSResult.h.
Referenced by OSResult::getVarValueStringIdx(), IsEqual(), and OSResult::setVarValueString().
std::string VarValueString::name |
optional name
Definition at line 963 of file OSResult.h.
Referenced by OSResult::getVarValueStringName(), IsEqual(), and OSResult::setVarValueString().
std::string VarValueString::value |
Definition at line 968 of file OSResult.h.
Referenced by OSResult::getVarValueString(), IsEqual(), and OSResult::setVarValueString().