SystemOption Class Reference

the SystemOption class. More...

#include <OSOption.h>

Collaboration diagram for SystemOption:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SystemOption ()
 Default constructor.
 ~SystemOption ()
 Class destructor.
bool IsEqual (SystemOption *that)
 A function to check for the equality of two objects.

Public Attributes

MinDiskSpaceminDiskSpace
 the minimum disk space required
MinMemorySizeminMemorySize
 the minimum memory required
MinCPUSpeedminCPUSpeed
 the minimum CPU speed required
int minCPUNumber
 the minimum number of processors required
OtherOptionsotherOptions
 the list of other system options

Detailed Description

the SystemOption class.

Author:
Robert Fourer, Gus Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 21/07/2008
Since:
OS 1.1
Remarks:
A data structure class that corresponds to an xml element in the OSoL schema.

Definition at line 385 of file OSOption.h.


Constructor & Destructor Documentation

SystemOption::SystemOption (  ) 

Default constructor.

Definition at line 197 of file OSOption.cpp.

References minCPUSpeed, minDiskSpace, minMemorySize, and otherOptions.

SystemOption::~SystemOption (  ) 

Class destructor.

Definition at line 209 of file OSOption.cpp.

References minCPUSpeed, minDiskSpace, minMemorySize, and otherOptions.


Member Function Documentation

bool SystemOption::IsEqual ( SystemOption that  ) 

A function to check for the equality of two objects.

Definition at line 6748 of file OSOption.cpp.

References minCPUNumber, minCPUSpeed, minDiskSpace, minMemorySize, and otherOptions.


Member Data Documentation

MinDiskSpace* SystemOption::minDiskSpace

the minimum disk space required

Definition at line 389 of file OSOption.h.

Referenced by OSOption::getMinDiskSpace(), OSOption::getMinDiskSpaceUnit(), IsEqual(), OSOption::setMinDiskSpace(), OSOption::setMinDiskSpaceUnit(), SystemOption(), OSoLWriter::writeOSoL(), and ~SystemOption().

MinMemorySize* SystemOption::minMemorySize

the minimum memory required

Definition at line 392 of file OSOption.h.

Referenced by OSOption::getMinMemorySize(), OSOption::getMinMemoryUnit(), IsEqual(), OSOption::setMinMemorySize(), OSOption::setMinMemoryUnit(), SystemOption(), and ~SystemOption().

MinCPUSpeed* SystemOption::minCPUSpeed

the minimum CPU speed required

Definition at line 395 of file OSOption.h.

Referenced by OSOption::getMinCPUSpeed(), OSOption::getMinCPUSpeedUnit(), IsEqual(), OSOption::setMinCPUSpeed(), OSOption::setMinCPUSpeedUnit(), SystemOption(), and ~SystemOption().

int SystemOption::minCPUNumber

the minimum number of processors required

Definition at line 398 of file OSOption.h.

Referenced by OSOption::getMinCPUNumber(), IsEqual(), and OSOption::setMinCPUNumber().

OtherOptions* SystemOption::otherOptions

the list of other system options

Definition at line 401 of file OSOption.h.

Referenced by OSOption::getNumberOfOtherSystemOptions(), OSOption::getOtherSystemOptions(), IsEqual(), OSOption::setAnOtherSystemOption(), OSOption::setOtherSystemOptions(), SystemOption(), and ~SystemOption().


The documentation for this class was generated from the following files:
Generated on Mon Aug 3 03:08:03 2009 by  doxygen 1.4.7