OtherResults Class Reference

The OtherResults Class. More...

#include <OSResult.h>

Collaboration diagram for OtherResults:

Collaboration graph
[legend]
List of all members.

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

Default constructor.

Definition at line 102 of file OSResult.cpp.

OtherResults::~OtherResults (  ) 

Class destructor.

Definition at line 111 of file OSResult.cpp.

References numberOfOtherResults, and other.


Member Function Documentation

bool OtherResults::IsEqual ( OtherResults that  ) 

A function to check for the equality of two objects.

Definition at line 6077 of file OSResult.cpp.

References numberOfOtherResults, and other.

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" atrbutes and <XXX> children)

Definition at line 8029 of file OSResult.cpp.

References n, numberOfOtherResults, OSRand(), other, and OtherResult::setRandom().

Referenced by JobResult::setRandom(), ServiceResult::setRandom(), SystemResult::setRandom(), and GeneralResult::setRandom().


Member Data Documentation

int OtherResults::numberOfOtherResults

the number of other results

Definition at line 222 of file OSResult.h.

Referenced by OSResult::getNumberOfOtherGeneralResults(), OSResult::getNumberOfOtherJobResults(), OSResult::getNumberOfOtherServiceResults(), OSResult::getNumberOfOtherSystemResults(), OSResult::getOtherGeneralResultDescription(), OSResult::getOtherGeneralResultName(), OSResult::getOtherGeneralResultValue(), OSResult::getOtherJobResultDescription(), OSResult::getOtherJobResultName(), OSResult::getOtherJobResultValue(), OSResult::getOtherServiceResultDescription(), OSResult::getOtherServiceResultName(), OSResult::getOtherServiceResultValue(), OSResult::getOtherSystemResultDescription(), OSResult::getOtherSystemResultName(), OSResult::getOtherSystemResultValue(), IsEqual(), OSResult::setNumberOfOtherGeneralResults(), OSResult::setNumberOfOtherJobResults(), OSResult::setNumberOfOtherServiceResults(), OSResult::setNumberOfOtherSystemResults(), setRandom(), OSrLWriter::writeOSrL(), and ~OtherResults().

OtherResult** OtherResults::other

the array of other results

Definition at line 225 of file OSResult.h.

Referenced by OSResult::getOtherGeneralResultDescription(), OSResult::getOtherGeneralResultName(), OSResult::getOtherGeneralResultValue(), OSResult::getOtherJobResultDescription(), OSResult::getOtherJobResultName(), OSResult::getOtherJobResultValue(), OSResult::getOtherServiceResultDescription(), OSResult::getOtherServiceResultName(), OSResult::getOtherServiceResultValue(), OSResult::getOtherSystemResultDescription(), OSResult::getOtherSystemResultName(), OSResult::getOtherSystemResultValue(), IsEqual(), OSResult::setNumberOfOtherGeneralResults(), OSResult::setNumberOfOtherJobResults(), OSResult::setNumberOfOtherServiceResults(), OSResult::setNumberOfOtherSystemResults(), setRandom(), OSrLWriter::writeOSrL(), and ~OtherResults().


The documentation for this class was generated from the following files:
Generated on Thu Nov 10 03:13:08 2011 by  doxygen 1.4.7