My Project
OtherResults Class Reference

The OtherResults Class. More...

#include <OSResult.h>

Public Member Functions

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

Public Attributes

int numberOfOtherResults
 the number of other results
 
OtherResult ** other
 the array of other results
 

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::OtherResults ( )

Default constructor.

Definition at line 98 of file OSResult.cpp.

◆ ~OtherResults()

OtherResults::~OtherResults ( )

Class destructor.

Definition at line 107 of file OSResult.cpp.

Member Function Documentation

◆ IsEqual()

bool OtherResults::IsEqual ( OtherResults * that)

A function to check for the equality of two objects.

Definition at line 7705 of file OSResult.cpp.

◆ setRandom()

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

Member Data Documentation

◆ numberOfOtherResults

int OtherResults::numberOfOtherResults

the number of other results

Definition at line 222 of file OSResult.h.

◆ other

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: