DiskSpace Class Reference

The DiskSpace Class. More...

#include <OSResult.h>

Collaboration diagram for DiskSpace:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

std::string unit
 the unit in which disk space is measured
std::string description
 a descriptive string to further describe the disk space
double value
 the number of disk space units

Detailed Description

The DiskSpace Class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 10/09/2009
Since:
OS 1.0
Remarks:
A data structure class that corresponds to an xml element in the OSrL schema.

Definition at line 300 of file OSResult.h.


Constructor & Destructor Documentation

DiskSpace::DiskSpace (  ) 

Default constructor.

Definition at line 158 of file OSResult.cpp.

DiskSpace::~DiskSpace (  ) 

Class destructor.

Definition at line 168 of file OSResult.cpp.


Member Function Documentation

bool DiskSpace::IsEqual ( DiskSpace that  ) 

A function to check for the equality of two objects.

Definition at line 4956 of file OSResult.cpp.


Member Data Documentation

std::string DiskSpace::unit

the unit in which disk space is measured

Definition at line 305 of file OSResult.h.

Referenced by OSResult::getAvailableDiskSpaceUnit(), OSResult::getUsedDiskSpaceUnit(), OSResult::setAvailableDiskSpaceUnit(), OSResult::setUsedDiskSpaceUnit(), and OSrLWriter::writeOSrL().

std::string DiskSpace::description

a descriptive string to further describe the disk space

Definition at line 308 of file OSResult.h.

Referenced by OSResult::getAvailableDiskSpaceDescription(), OSResult::getUsedDiskSpaceDescription(), OSResult::setAvailableDiskSpaceDescription(), OSResult::setUsedDiskSpaceDescription(), and OSrLWriter::writeOSrL().

double DiskSpace::value

the number of disk space units

Definition at line 311 of file OSResult.h.

Referenced by OSResult::getAvailableDiskSpaceValue(), OSResult::getUsedDiskSpaceValue(), OSResult::setAvailableDiskSpaceValue(), OSResult::setUsedDiskSpaceValue(), and OSrLWriter::writeOSrL().


The documentation for this class was generated from the following files:
Generated on Thu Aug 5 03:10:40 2010 by  doxygen 1.4.7