MemorySize Class Reference

The MemorySize Class. More...

#include <OSResult.h>

Collaboration diagram for MemorySize:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

The MemorySize 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 344 of file OSResult.h.


Constructor & Destructor Documentation

MemorySize::MemorySize (  ) 

Default constructor.

Definition at line 179 of file OSResult.cpp.

MemorySize::~MemorySize (  ) 

Class destructor.

Definition at line 189 of file OSResult.cpp.


Member Function Documentation

bool MemorySize::IsEqual ( MemorySize that  ) 

A function to check for the equality of two objects.

Definition at line 4918 of file OSResult.cpp.

References description, unit, and value.


Member Data Documentation

std::string MemorySize::unit

the unit in which memory size is measured

Definition at line 349 of file OSResult.h.

Referenced by OSResult::getAvailableMemoryUnit(), OSResult::getUsedMemoryUnit(), IsEqual(), OSResult::setAvailableMemoryUnit(), OSResult::setUsedMemoryUnit(), and OSrLWriter::writeOSrL().

std::string MemorySize::description

a descriptive string to further describe the memory

Definition at line 352 of file OSResult.h.

Referenced by OSResult::getAvailableMemoryDescription(), OSResult::getUsedMemoryDescription(), IsEqual(), OSResult::setAvailableMemoryDescription(), OSResult::setUsedMemoryDescription(), and OSrLWriter::writeOSrL().

double MemorySize::value

the number of memory units

Definition at line 355 of file OSResult.h.

Referenced by OSResult::getAvailableMemoryValue(), OSResult::getUsedMemoryValue(), IsEqual(), OSResult::setAvailableMemoryValue(), OSResult::setUsedMemoryValue(), and OSrLWriter::writeOSrL().


The documentation for this class was generated from the following files:
Generated on Wed Mar 23 03:08:38 2011 by  doxygen 1.4.7