#include <OSResult.h>
Collaboration diagram for MemorySize:
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 |
Definition at line 344 of file OSResult.h.
MemorySize::MemorySize | ( | ) |
MemorySize::~MemorySize | ( | ) |
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.
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().