OtherResult Class Reference

The OtherResult Class. More...

#include <OSResult.h>

Collaboration diagram for OtherResult:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

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

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 84 of file OSResult.cpp.

OtherResult::~OtherResult (  ) 

Class destructor.

Definition at line 94 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 6125 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" atrbutes and <XXX> children)

Definition at line 8052 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.

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:

Generated on 16 Feb 2012 by  doxygen 1.6.1