#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 | value |
Definition at line 936 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 7871 of file OSResult.cpp.
Referenced by VariableValuesString::setRandom().
std::string VarValueString::value |
Definition at line 945 of file OSResult.h.