OS  2.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
OtherVariableResult Class Reference

The OtherVariableResult Class. More...

#include <OSResult.h>

+ Collaboration diagram for OtherVariableResult:

Public Member Functions

 OtherVariableResult ()
 Default constructor. More...
 
 ~OtherVariableResult ()
 Class destructor. More...
 
bool IsEqual (OtherVariableResult *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

int numberOfVar
 the number of variables which have values for this particular type of result More...
 
int numberOfEnumerations
 the number of distinct values for this particular type of result More...
 
std::string name
 the name of the result the user is defining More...
 
std::string value
 this element allows a specific value associated with this particular type of result More...
 
std::string type
 type of the result value (integer, double, boolean, string) More...
 
std::string description
 a brief description of the type of result More...
 
OtherVarResult ** var
 
std::string varType
 type of the values in the var array More...
 
OtherOptionEnumeration ** enumeration
 
std::string enumType
 type of the values in the enumeration array More...
 

Detailed Description

The OtherVariableResult Class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
A class that allows the solver to report an arbitrary result associated with variables

Definition at line 1122 of file OSResult.h.

Constructor & Destructor Documentation

OtherVariableResult::OtherVariableResult ( )

Default constructor.

OtherVariableResult::~OtherVariableResult ( )

Class destructor.

Member Function Documentation

bool OtherVariableResult::IsEqual ( OtherVariableResult that)

A function to check for the equality of two objects.

bool OtherVariableResult::setRandom ( double  density,
bool  conformant 
)

A function to make a random instance of this class.

Parameters
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)

Member Data Documentation

int OtherVariableResult::numberOfVar

the number of variables which have values for this particular type of result

Definition at line 1129 of file OSResult.h.

int OtherVariableResult::numberOfEnumerations

the number of distinct values for this particular type of result

Definition at line 1134 of file OSResult.h.

std::string OtherVariableResult::name

the name of the result the user is defining

Definition at line 1137 of file OSResult.h.

std::string OtherVariableResult::value

this element allows a specific value associated with this particular type of result

Definition at line 1142 of file OSResult.h.

std::string OtherVariableResult::type

type of the result value (integer, double, boolean, string)

Definition at line 1145 of file OSResult.h.

std::string OtherVariableResult::description

a brief description of the type of result

Definition at line 1148 of file OSResult.h.

OtherVarResult** OtherVariableResult::var

Definition at line 1154 of file OSResult.h.

std::string OtherVariableResult::varType

type of the values in the var array

Definition at line 1157 of file OSResult.h.

OtherOptionEnumeration** OtherVariableResult::enumeration

Definition at line 1163 of file OSResult.h.

std::string OtherVariableResult::enumType

type of the values in the enumeration array

Definition at line 1166 of file OSResult.h.


The documentation for this class was generated from the following file: