#include <OSResult.h>
Collaboration diagram for VariableValuesString:
Public Member Functions | |
VariableValuesString () | |
Default constructor. | |
~VariableValuesString () | |
Class destructor. | |
bool | IsEqual (VariableValuesString *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 | numberOfVar |
the number of string-valued variable values that are in the solution | |
VarValueString ** | var |
a vector of VarValueString objects, there will be one for each variable in the solution |
Definition at line 1010 of file OSResult.h.
VariableValuesString::VariableValuesString | ( | ) |
VariableValuesString::~VariableValuesString | ( | ) |
bool VariableValuesString::IsEqual | ( | VariableValuesString * | that | ) |
A function to check for the equality of two objects.
Definition at line 6906 of file OSResult.cpp.
References numberOfVar, and var.
bool VariableValuesString::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 8525 of file OSResult.cpp.
References n, OSRand(), VarValueString::setRandom(), and var.
Referenced by VariableSolution::setRandom().
the number of string-valued variable values that are in the solution
Definition at line 1016 of file OSResult.h.
Referenced by OSResult::getNumberOfVarValuesString(), OSResult::getVarValueString(), OSResult::getVarValueStringIdx(), OSResult::getVarValueStringName(), IsEqual(), OSResult::setNumberOfVarValuesString(), OSResult::setVarValueString(), and ~VariableValuesString().
a vector of VarValueString objects, there will be one for each variable in the solution
Definition at line 1021 of file OSResult.h.
Referenced by OSResult::getVarValueString(), OSResult::getVarValueStringIdx(), OSResult::getVarValueStringName(), IsEqual(), OSResult::setNumberOfVarValuesString(), setRandom(), OSResult::setVarValueString(), and ~VariableValuesString().