My Project
SystemResult Class Reference

The SystemResult Class. More...

#include <OSResult.h>

Public Member Functions

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

Public Attributes

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

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.
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() [1/2]

SystemResult::SystemResult ( )

Default constructor.

Definition at line 159 of file OSResult.cpp.

◆ ~SystemResult() [1/2]

SystemResult::~SystemResult ( )

Class destructor.

Definition at line 173 of file OSResult.cpp.

◆ SystemResult() [2/2]

SystemResult::SystemResult ( )

Default constructor.

◆ ~SystemResult() [2/2]

SystemResult::~SystemResult ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool SystemResult::IsEqual ( SystemResult * that)

A function to check for the equality of two objects.

Definition at line 7812 of file OSResult.cpp.

◆ setRandom()

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

Member Data Documentation

◆ systemInformation

std::string SystemResult::systemInformation

a string containing some basic system information

Definition at line 354 of file OSResult.h.

◆ availableDiskSpace

StorageCapacity* SystemResult::availableDiskSpace

a pointer to the DiskSpace class

Definition at line 358 of file OSResult.h.

◆ availableMemory

StorageCapacity* SystemResult::availableMemory

a pointer to the MemorySize class

Definition at line 362 of file OSResult.h.

◆ availableCPUSpeed

CPUSpeed* SystemResult::availableCPUSpeed

a pointer to the CPUSpeed class

Definition at line 366 of file OSResult.h.

◆ availableCPUNumber

CPUNumber* SystemResult::availableCPUNumber

a pointer to the CPUNumber class

Definition at line 370 of file OSResult.h.

◆ otherResults

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: