My Project
GeneralSubstatus Class Reference

The GeneralSubstatus Class. More...

#include <OSResult.h>

Public Member Functions

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

Public Attributes

std::string name
 the name of the substatus
 
std::string description
 the description of the substatus
 

Detailed Description

The GeneralSubstatus Class.

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

Definition at line 54 of file OSResult.h.

Constructor & Destructor Documentation

◆ GeneralSubstatus() [1/2]

GeneralSubstatus::GeneralSubstatus ( )

Default constructor.

======== Constructor and destructor functions ======== (in the same order in which they appear in OSResult.h)

Definition at line 34 of file OSResult.cpp.

◆ ~GeneralSubstatus() [1/2]

GeneralSubstatus::~GeneralSubstatus ( )

Class destructor.

Definition at line 43 of file OSResult.cpp.

◆ GeneralSubstatus() [2/2]

GeneralSubstatus::GeneralSubstatus ( )

Default constructor.

◆ ~GeneralSubstatus() [2/2]

GeneralSubstatus::~GeneralSubstatus ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool GeneralSubstatus::IsEqual ( GeneralSubstatus * that)

A function to check for the equality of two objects.

Definition at line 7654 of file OSResult.cpp.

◆ setRandom()

bool GeneralSubstatus::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 9792 of file OSResult.cpp.

Member Data Documentation

◆ name

std::string GeneralSubstatus::name

the name of the substatus

Definition at line 60 of file OSResult.h.

◆ description

std::string GeneralSubstatus::description

the description of the substatus

Definition at line 63 of file OSResult.h.


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