The OtherSolutionResult Class. More...
#include <OSResult.h>
Public Member Functions | |
OtherSolutionResult () | |
Default constructor. More... | |
~OtherSolutionResult () | |
Class destructor. More... | |
bool | IsEqual (OtherSolutionResult *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... | |
Public Attributes | |
std::string | name |
the name of the result the user is defining More... | |
std::string | value |
the value associated with the result the user is defining More... | |
std::string | category |
this element allows a specific category to be associated with this particular type of result More... | |
std::string | description |
a brief description of the type of result More... | |
int | numberOfItems |
the number of items contained in this otherSolutionResult More... | |
std::string * | item |
an array of items (string-valued) More... | |
The OtherSolutionResult Class.
Definition at line 2136 of file OSResult.h.
OtherSolutionResult::OtherSolutionResult | ( | ) |
Default constructor.
Definition at line 1164 of file OSResult.cpp.
OtherSolutionResult::~OtherSolutionResult | ( | ) |
Class destructor.
Definition at line 1178 of file OSResult.cpp.
bool OtherSolutionResult::IsEqual | ( | OtherSolutionResult * | that | ) |
A function to check for the equality of two objects.
Definition at line 9480 of file OSResult.cpp.
bool OtherSolutionResult::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 10720 of file OSResult.cpp.
std::string OtherSolutionResult::name |
the name of the result the user is defining
Definition at line 2141 of file OSResult.h.
std::string OtherSolutionResult::value |
the value associated with the result the user is defining
Definition at line 2144 of file OSResult.h.
std::string OtherSolutionResult::category |
this element allows a specific category to be associated with this particular type of result
Definition at line 2149 of file OSResult.h.
std::string OtherSolutionResult::description |
a brief description of the type of result
Definition at line 2152 of file OSResult.h.
int OtherSolutionResult::numberOfItems |
the number of items contained in this otherSolutionResult
Definition at line 2156 of file OSResult.h.
std::string* OtherSolutionResult::item |
an array of items (string-valued)
Definition at line 2160 of file OSResult.h.