OS  2.9.3
Public Member Functions | Public Attributes | List of all members
OtherConstraintResult Class Reference

The OtherConstraintResult Class. More...

#include <OSResult.h>

+ Collaboration diagram for OtherConstraintResult:

Public Member Functions

 OtherConstraintResult ()
 Default constructor. More...
 
 ~OtherConstraintResult ()
 Class destructor. More...
 
bool IsEqual (OtherConstraintResult *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 numberOfCon
 the number of constraints 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...
 
OtherConResult ** con
 
std::string conType
 type of the values in the con array More...
 
OtherOptionEnumeration ** enumeration
 
std::string enumType
 type of the values in the enumeration array More...
 

Detailed Description

The OtherConstraintResult 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 constraints.

Definition at line 1753 of file OSResult.h.

Constructor & Destructor Documentation

OtherConstraintResult::OtherConstraintResult ( )

Default constructor.

OtherConstraintResult::~OtherConstraintResult ( )

Class destructor.

Member Function Documentation

bool OtherConstraintResult::IsEqual ( OtherConstraintResult that)

A function to check for the equality of two objects.

bool OtherConstraintResult::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)

Member Data Documentation

int OtherConstraintResult::numberOfCon

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

Definition at line 1760 of file OSResult.h.

int OtherConstraintResult::numberOfEnumerations

the number of distinct values for this particular type of result

Definition at line 1765 of file OSResult.h.

std::string OtherConstraintResult::name

the name of the result the user is defining

Definition at line 1768 of file OSResult.h.

std::string OtherConstraintResult::value

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

Definition at line 1773 of file OSResult.h.

std::string OtherConstraintResult::type

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

Definition at line 1776 of file OSResult.h.

std::string OtherConstraintResult::description

a brief description of the type of result

Definition at line 1779 of file OSResult.h.

OtherConResult** OtherConstraintResult::con

Definition at line 1786 of file OSResult.h.

std::string OtherConstraintResult::conType

type of the values in the con array

Definition at line 1789 of file OSResult.h.

OtherOptionEnumeration** OtherConstraintResult::enumeration

Definition at line 1795 of file OSResult.h.

std::string OtherConstraintResult::enumType

type of the values in the enumeration array

Definition at line 1798 of file OSResult.h.


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