The SolverOutput Class. More...
#include <OSResult.h>
Public Member Functions | |
SolverOutput () | |
Default constructor. | |
~SolverOutput () | |
Class destructor. | |
bool | IsEqual (SolverOutput *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 | |
std::string | name |
the name of the result the user is defining | |
std::string | category |
this element allows a specific category to be associated with this particular type of result | |
std::string | description |
a brief description of the type of result | |
int | numberOfItems |
the number of items contained in this otherSolutionResult | |
std::string * | item |
an array of items (string-valued) |
The SolverOutput Class.
Definition at line 2085 of file OSResult.h.
SolverOutput::SolverOutput | ( | ) |
Default constructor.
Definition at line 1039 of file OSResult.cpp.
SolverOutput::~SolverOutput | ( | ) |
Class destructor.
Definition at line 1052 of file OSResult.cpp.
bool SolverOutput::IsEqual | ( | SolverOutput * | that | ) |
A function to check for the equality of two objects.
Definition at line 7851 of file OSResult.cpp.
bool SolverOutput::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 8996 of file OSResult.cpp.
std::string SolverOutput::name |
the name of the result the user is defining
Definition at line 2090 of file OSResult.h.
std::string SolverOutput::category |
this element allows a specific category to be associated with this particular type of result
Definition at line 2095 of file OSResult.h.
std::string SolverOutput::description |
a brief description of the type of result
Definition at line 2098 of file OSResult.h.
the number of items contained in this otherSolutionResult
Definition at line 2102 of file OSResult.h.
std::string* SolverOutput::item |
an array of items (string-valued)
Definition at line 2106 of file OSResult.h.