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 393 of file OSOption.h.


Constructor & Destructor Documentation

SystemOption::SystemOption (  ) 

Default constructor.

Definition at line 198 of file OSOption.cpp.

References minCPUSpeed, minDiskSpace, minMemorySize, and otherOptions.

SystemOption::~SystemOption (  ) 

Class destructor.

Definition at line 210 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 6698 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 397 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 400 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 403 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 406 of file OSOption.h.

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

OtherOptions* SystemOption::otherOptions

the list of other system options

Definition at line 409 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 Fri Jan 7 03:27:22 2011 by  doxygen 1.4.7