#include <OSResult.h>
Collaboration diagram for SystemResult:
Public Member Functions | |
SystemResult () | |
Default constructor. | |
~SystemResult () | |
Class destructor. | |
bool | IsEqual (SystemResult *that) |
A function to check for the equality of two objects. | |
bool | setRandom (double density, bool conformant) |
A function to make a random instance of this class. | |
SystemResult () | |
Default constructor. | |
~SystemResult () | |
Class destructor. | |
Public Attributes | |
std::string | systemInformation |
a string containing some basic system information | |
StorageCapacity * | availableDiskSpace |
a pointer to the DiskSpace class | |
StorageCapacity * | availableMemory |
a pointer to the MemorySize class | |
CPUSpeed * | availableCPUSpeed |
a pointer to the CPUSpeed class | |
CPUNumber * | availableCPUNumber |
a pointer to the CPUNumber class | |
OtherResults * | otherResults |
a pointer to the OtherResults class |
Definition at line 343 of file OSResult.h.
SystemResult::SystemResult | ( | ) |
SystemResult::~SystemResult | ( | ) |
Class destructor.
Definition at line 172 of file OSResult.cpp.
References availableCPUNumber, availableCPUSpeed, availableDiskSpace, availableMemory, and otherResults.
SystemResult::SystemResult | ( | ) |
Default constructor.
SystemResult::~SystemResult | ( | ) |
Class destructor.
bool SystemResult::IsEqual | ( | SystemResult * | that | ) |
bool SystemResult::setRandom | ( | double | density, | |
bool | conformant | |||
) |
A function to make a random instance of this class.
density,: | corresponds to the probability that a particular child element is created | |
conformant,: | if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" atrbutes and <XXX> children) |
Definition at line 7390 of file OSResult.cpp.
References availableDiskSpace, and StorageCapacity::setRandom().
std::string SystemResult::systemInformation |
a string containing some basic system information
Definition at line 347 of file OSResult.h.
Referenced by OSrLWriter::writeOSrL().
a pointer to the DiskSpace class
Definition at line 351 of file OSResult.h.
Referenced by OSResult::setAvailableDiskSpaceDescription(), OSResult::setAvailableDiskSpaceUnit(), OSResult::setAvailableDiskSpaceValue(), setRandom(), OSrLWriter::writeOSrL(), and ~SystemResult().
a pointer to the MemorySize class
Definition at line 355 of file OSResult.h.
Referenced by OSResult::setAvailableMemoryDescription(), OSResult::setAvailableMemoryUnit(), OSResult::setAvailableMemoryValue(), OSrLWriter::writeOSrL(), and ~SystemResult().
a pointer to the CPUSpeed class
Definition at line 359 of file OSResult.h.
Referenced by OSResult::setAvailableCPUSpeedDescription(), OSResult::setAvailableCPUSpeedUnit(), OSResult::setAvailableCPUSpeedValue(), OSrLWriter::writeOSrL(), and ~SystemResult().
a pointer to the CPUNumber class
Definition at line 363 of file OSResult.h.
Referenced by OSResult::setAvailableCPUNumberDescription(), OSResult::setAvailableCPUNumberValue(), OSrLWriter::writeOSrL(), and ~SystemResult().
a pointer to the OtherResults class
Definition at line 367 of file OSResult.h.
Referenced by OSResult::setNumberOfOtherSystemResults(), OSrLWriter::writeOSrL(), and ~SystemResult().