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

The OtherResult Class. More...

#include <OSResult.h>

Collaboration diagram for OtherResult:
Collaboration graph
[legend]

Public Member Functions

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

std::string name
 the name of the other result More...
 
std::string value
 the value of the other result More...
 
std::string description
 the description of the other result More...
 

Detailed Description

The OtherResult Class.

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

Definition at line 162 of file OSResult.h.

Constructor & Destructor Documentation

OtherResult::OtherResult ( )

Default constructor.

Definition at line 80 of file OSResult.cpp.

OtherResult::~OtherResult ( )

Class destructor.

Definition at line 90 of file OSResult.cpp.

Member Function Documentation

bool OtherResult::IsEqual ( OtherResult that)

A function to check for the equality of two objects.

Definition at line 7759 of file OSResult.cpp.

bool OtherResult::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 9827 of file OSResult.cpp.

Member Data Documentation

std::string OtherResult::name

the name of the other result

Definition at line 168 of file OSResult.h.

std::string OtherResult::value

the value of the other result

Definition at line 171 of file OSResult.h.

std::string OtherResult::description

the description of the other result

Definition at line 174 of file OSResult.h.


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