My Project
OtherResult Class Reference

The OtherResult Class. More...

#include <OSResult.h>

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

Default constructor.

Definition at line 80 of file OSResult.cpp.

◆ ~OtherResult()

OtherResult::~OtherResult ( )

Class destructor.

Definition at line 90 of file OSResult.cpp.

Member Function Documentation

◆ IsEqual()

bool OtherResult::IsEqual ( OtherResult * that)

A function to check for the equality of two objects.

Definition at line 7759 of file OSResult.cpp.

◆ setRandom()

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

Member Data Documentation

◆ name

std::string OtherResult::name

the name of the other result

Definition at line 168 of file OSResult.h.

◆ value

std::string OtherResult::value

the value of the other result

Definition at line 171 of file OSResult.h.

◆ description

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: