My Project
OtherVariableResult Class Reference

The OtherVariableResult Class. More...

#include <OSResult.h>

Public Member Functions

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

Public Attributes

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

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 1124 of file OSResult.h.

Constructor & Destructor Documentation

◆ OtherVariableResult() [1/2]

OtherVariableResult::OtherVariableResult ( )

Default constructor.

Definition at line 524 of file OSResult.cpp.

◆ ~OtherVariableResult() [1/2]

OtherVariableResult::~OtherVariableResult ( )

Class destructor.

Definition at line 543 of file OSResult.cpp.

◆ OtherVariableResult() [2/2]

OtherVariableResult::OtherVariableResult ( )

Default constructor.

◆ ~OtherVariableResult() [2/2]

OtherVariableResult::~OtherVariableResult ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool OtherVariableResult::IsEqual ( OtherVariableResult * that)

A function to check for the equality of two objects.

Definition at line 8670 of file OSResult.cpp.

◆ setRandom()

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

A function to make a random instance of this class.

Parameters
densitycorresponds to the probability that a particular child element is created
conformantif true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children)

Definition at line 10338 of file OSResult.cpp.

Member Data Documentation

◆ numberOfVar

int OtherVariableResult::numberOfVar

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

Definition at line 1131 of file OSResult.h.

◆ numberOfEnumerations

int OtherVariableResult::numberOfEnumerations

the number of distinct values for this particular type of result

Definition at line 1136 of file OSResult.h.

◆ name

std::string OtherVariableResult::name

the name of the result the user is defining

Definition at line 1139 of file OSResult.h.

◆ value

std::string OtherVariableResult::value

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

Definition at line 1144 of file OSResult.h.

◆ type

std::string OtherVariableResult::type

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

Definition at line 1147 of file OSResult.h.

◆ description

std::string OtherVariableResult::description

a brief description of the type of result

Definition at line 1150 of file OSResult.h.

◆ solver

std::string OtherVariableResult::solver

the solver of the result value

Definition at line 1153 of file OSResult.h.

◆ category

std::string OtherVariableResult::category

the category of the result value

Definition at line 1156 of file OSResult.h.

◆ var [1/2]

OtherVarResult** OtherVariableResult::var

Definition at line 1162 of file OSResult.h.

◆ varType

std::string OtherVariableResult::varType

type of the values in the var array

Definition at line 1165 of file OSResult.h.

◆ enumeration

OtherOptionOrResultEnumeration** OtherVariableResult::enumeration

Definition at line 1171 of file OSResult.h.

◆ enumType

std::string OtherVariableResult::enumType

type of the values in the enumeration array

Definition at line 1174 of file OSResult.h.

◆ var [2/2]

std::vector<OtherVarResult*> OtherVariableResult::var

Definition at line 631 of file OSResult.h.


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