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

The OtherResults Class. More...

#include <OSResult.h>

Collaboration diagram for OtherResults:
Collaboration graph
[legend]

Public Member Functions

 OtherResults ()
 Default constructor. More...
 
 ~OtherResults ()
 Class destructor. More...
 
bool IsEqual (OtherResults *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 numberOfOtherResults
 the number of other results More...
 
OtherResult ** other
 the array of other results More...
 

Detailed Description

The OtherResults Class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 10/09/2009
Since
OS 1.0
Remarks
A data structure class that corresponds to an xml element in the OSrL schema.

Definition at line 216 of file OSResult.h.

Constructor & Destructor Documentation

OtherResults::OtherResults ( )

Default constructor.

Definition at line 98 of file OSResult.cpp.

OtherResults::~OtherResults ( )

Class destructor.

Definition at line 107 of file OSResult.cpp.

Member Function Documentation

bool OtherResults::IsEqual ( OtherResults that)

A function to check for the equality of two objects.

Definition at line 7705 of file OSResult.cpp.

bool OtherResults::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 9803 of file OSResult.cpp.

Member Data Documentation

int OtherResults::numberOfOtherResults

the number of other results

Definition at line 222 of file OSResult.h.

OtherResult** OtherResults::other

the array of other results

Definition at line 225 of file OSResult.h.


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