Public Member Functions | Public Attributes | List of all members
VariableValuesString Class Reference

The VariableValuesString Class. More...

#include <OSResult.h>

Collaboration diagram for VariableValuesString:
Collaboration graph
[legend]

Public Member Functions

 VariableValuesString ()
 Default constructor. More...
 
 ~VariableValuesString ()
 Class destructor. More...
 
bool IsEqual (VariableValuesString *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 string-valued variable values that are in the solution More...
 
VarValueString ** var
 a vector of VarValueString objects, there will be one for each variable in the solution More...
 

Detailed Description

The VariableValuesString Class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
A class that contains values for all the string-valued variables

Definition at line 1011 of file OSResult.h.

Constructor & Destructor Documentation

VariableValuesString::VariableValuesString ( )

Default constructor.

Definition at line 476 of file OSResult.cpp.

VariableValuesString::~VariableValuesString ( )

Class destructor.

Definition at line 486 of file OSResult.cpp.

Member Function Documentation

bool VariableValuesString::IsEqual ( VariableValuesString that)

A function to check for the equality of two objects.

Definition at line 8562 of file OSResult.cpp.

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

Definition at line 10299 of file OSResult.cpp.

Member Data Documentation

int VariableValuesString::numberOfVar

the number of string-valued variable values that are in the solution

Definition at line 1017 of file OSResult.h.

VarValueString** VariableValuesString::var

a vector of VarValueString objects, there will be one for each variable in the solution

Definition at line 1022 of file OSResult.h.


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