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

The SystemResult Class. More...

#include <OSResult.h>

Collaboration diagram for SystemResult:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

std::string systemInformation
 a string containing some basic system information More...
 
StorageCapacityavailableDiskSpace
 a pointer to the DiskSpace class More...
 
StorageCapacityavailableMemory
 a pointer to the MemorySize class More...
 
CPUSpeedavailableCPUSpeed
 a pointer to the CPUSpeed class More...
 
CPUNumberavailableCPUNumber
 a pointer to the CPUNumber class More...
 
OtherResultsotherResults
 a pointer to the OtherResults class More...
 

Detailed Description

The SystemResult Class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
A class that provides the system information that is defined in the OSrL schema.

Definition at line 349 of file OSResult.h.

Constructor & Destructor Documentation

SystemResult::SystemResult ( )

Default constructor.

Definition at line 159 of file OSResult.cpp.

SystemResult::~SystemResult ( )

Class destructor.

Definition at line 173 of file OSResult.cpp.

SystemResult::SystemResult ( )

Default constructor.

SystemResult::~SystemResult ( )

Class destructor.

Member Function Documentation

bool SystemResult::IsEqual ( SystemResult that)

A function to check for the equality of two objects.

Definition at line 7812 of file OSResult.cpp.

bool SystemResult::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 9839 of file OSResult.cpp.

Member Data Documentation

std::string SystemResult::systemInformation

a string containing some basic system information

Definition at line 354 of file OSResult.h.

StorageCapacity* SystemResult::availableDiskSpace

a pointer to the DiskSpace class

Definition at line 358 of file OSResult.h.

StorageCapacity* SystemResult::availableMemory

a pointer to the MemorySize class

Definition at line 362 of file OSResult.h.

CPUSpeed* SystemResult::availableCPUSpeed

a pointer to the CPUSpeed class

Definition at line 366 of file OSResult.h.

CPUNumber* SystemResult::availableCPUNumber

a pointer to the CPUNumber class

Definition at line 370 of file OSResult.h.

OtherResults* SystemResult::otherResults

a pointer to the OtherResults class

Definition at line 374 of file OSResult.h.


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