My Project
GeneralStatus Class Reference

The GeneralStatus Class. More...

#include <OSResult.h>

Public Member Functions

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

Public Attributes

int numberOfSubstatuses
 the number of substatuses
 
std::string type
 the type of status
 
std::string description
 the description of the status
 
GeneralSubstatus ** substatus
 the array of substatuses
 
std::vector< GeneralSubstatus * > substatus
 the array of substatuses
 

Detailed Description

The GeneralStatus Class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.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, 03/14/2004
Since
OS 1.0
Remarks
A data structure class that corresponds to an xml element in the OSrL schema.

Definition at line 105 of file OSResult.h.

Constructor & Destructor Documentation

◆ GeneralStatus() [1/2]

GeneralStatus::GeneralStatus ( )

Default constructor.

Definition at line 51 of file OSResult.cpp.

◆ ~GeneralStatus() [1/2]

GeneralStatus::~GeneralStatus ( )

Class destructor.

Definition at line 62 of file OSResult.cpp.

◆ GeneralStatus() [2/2]

GeneralStatus::GeneralStatus ( )

Default constructor.

◆ ~GeneralStatus() [2/2]

GeneralStatus::~GeneralStatus ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool GeneralStatus::IsEqual ( GeneralStatus * that)

A function to check for the equality of two objects.

Definition at line 7597 of file OSResult.cpp.

◆ setRandom()

bool GeneralStatus::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 9766 of file OSResult.cpp.

Member Data Documentation

◆ numberOfSubstatuses

int GeneralStatus::numberOfSubstatuses

the number of substatuses

Definition at line 111 of file OSResult.h.

◆ type

std::string GeneralStatus::type

the type of status

Definition at line 114 of file OSResult.h.

◆ description

std::string GeneralStatus::description

the description of the status

Definition at line 117 of file OSResult.h.

◆ substatus [1/2]

GeneralSubstatus** GeneralStatus::substatus

the array of substatuses

Definition at line 120 of file OSResult.h.

◆ substatus [2/2]

std::vector<GeneralSubstatus*> GeneralStatus::substatus

the array of substatuses

Definition at line 84 of file OSResult.h.


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