#include <OSResult.h>
Collaboration diagram for JobResult:
Public Member Functions | |
JobResult () | |
Default constructor. | |
~JobResult () | |
Class destructor. | |
bool | IsEqual (JobResult *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. | |
JobResult () | |
Default constructor. | |
~JobResult () | |
Class destructor. | |
Public Attributes | |
std::string | status |
job status | |
std::string | submitTime |
time the job was submitted | |
std::string | scheduledStartTime |
the time when the job was supposed to start | |
std::string | actualStartTime |
the time when the job actually started | |
std::string | endTime |
the time when the job finished | |
TimingInformation * | timingInformation |
a pointer to the TimingInformation class | |
StorageCapacity * | usedDiskSpace |
a pointer to the DiskSpace class | |
StorageCapacity * | usedMemory |
a pointer to the MemorySize class | |
CPUSpeed * | usedCPUSpeed |
a pointer to the CPUSpeed class | |
CPUNumber * | usedCPUNumber |
a pointer to the CPUNumber class | |
OtherResults * | otherResults |
a pointer to the OtherResults class | |
TimingInformation * | timingInformation |
Definition at line 659 of file OSResult.h.
JobResult::JobResult | ( | ) |
JobResult::~JobResult | ( | ) |
Class destructor.
Definition at line 326 of file OSResult.cpp.
References otherResults, timingInformation, usedCPUNumber, usedCPUSpeed, usedDiskSpace, and usedMemory.
JobResult::JobResult | ( | ) |
Default constructor.
JobResult::~JobResult | ( | ) |
Class destructor.
bool JobResult::IsEqual | ( | JobResult * | that | ) |
A function to check for the equality of two objects.
Definition at line 6286 of file OSResult.cpp.
References actualStartTime, endTime, otherResults, scheduledStartTime, status, submitTime, timingInformation, usedCPUNumber, usedCPUSpeed, usedDiskSpace, and usedMemory.
bool JobResult::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 8140 of file OSResult.cpp.
References actualStartTime, endTime, OSRand(), otherResults, scheduledStartTime, OtherResults::setRandom(), CPUNumber::setRandom(), CPUSpeed::setRandom(), StorageCapacity::setRandom(), TimingInformation::setRandom(), status, submitTime, timingInformation, usedCPUNumber, usedCPUSpeed, usedDiskSpace, and usedMemory.
Referenced by OSResult::setRandom().
std::string JobResult::status |
job status
Definition at line 664 of file OSResult.h.
Referenced by OSResult::getJobStatus(), IsEqual(), OSResult::setJobStatus(), setRandom(), and OSrLWriter::writeOSrL().
std::string JobResult::submitTime |
time the job was submitted
Definition at line 667 of file OSResult.h.
Referenced by OSResult::getJobSubmitTime(), IsEqual(), OSResult::setJobSubmitTime(), setRandom(), and OSrLWriter::writeOSrL().
std::string JobResult::scheduledStartTime |
the time when the job was supposed to start
Definition at line 670 of file OSResult.h.
Referenced by OSResult::getScheduledStartTime(), IsEqual(), setRandom(), OSResult::setScheduledStartTime(), and OSrLWriter::writeOSrL().
std::string JobResult::actualStartTime |
the time when the job actually started
Definition at line 673 of file OSResult.h.
Referenced by OSResult::getActualStartTime(), IsEqual(), OSResult::setActualStartTime(), setRandom(), and OSrLWriter::writeOSrL().
std::string JobResult::endTime |
the time when the job finished
Definition at line 676 of file OSResult.h.
Referenced by OSResult::getJobEndTime(), IsEqual(), OSResult::setJobEndTime(), setRandom(), and OSrLWriter::writeOSrL().
a pointer to the TimingInformation class
Definition at line 679 of file OSResult.h.
Referenced by OSResult::addTimingInformation(), OSResult::getNumberOfTimes(), OSResult::getTimeNumber(), OSResult::getTimeValue(), OSResult::getTimingInfoCategory(), OSResult::getTimingInfoDescription(), OSResult::getTimingInfoType(), OSResult::getTimingInfoUnit(), OSResult::getTimingInfoValue(), IsEqual(), JobResult(), OSResult::setNumberOfTimes(), setRandom(), OSResult::setTimeNumber(), OSResult::setTimingInformation(), OSrLWriter::writeOSrL(), and ~JobResult().
a pointer to the DiskSpace class
Definition at line 683 of file OSResult.h.
Referenced by OSResult::getUsedDiskSpaceDescription(), OSResult::getUsedDiskSpaceUnit(), OSResult::getUsedDiskSpaceValue(), IsEqual(), setRandom(), OSResult::setUsedDiskSpaceDescription(), OSResult::setUsedDiskSpaceUnit(), OSResult::setUsedDiskSpaceValue(), OSrLWriter::writeOSrL(), and ~JobResult().
a pointer to the MemorySize class
Definition at line 687 of file OSResult.h.
Referenced by OSResult::getUsedMemoryDescription(), OSResult::getUsedMemoryUnit(), OSResult::getUsedMemoryValue(), IsEqual(), setRandom(), OSResult::setUsedMemoryDescription(), OSResult::setUsedMemoryUnit(), OSResult::setUsedMemoryValue(), OSrLWriter::writeOSrL(), and ~JobResult().
a pointer to the CPUSpeed class
Definition at line 691 of file OSResult.h.
Referenced by OSResult::getUsedCPUSpeedDescription(), OSResult::getUsedCPUSpeedUnit(), OSResult::getUsedCPUSpeedValue(), IsEqual(), setRandom(), OSResult::setUsedCPUSpeedDescription(), OSResult::setUsedCPUSpeedUnit(), OSResult::setUsedCPUSpeedValue(), OSrLWriter::writeOSrL(), and ~JobResult().
a pointer to the CPUNumber class
Definition at line 695 of file OSResult.h.
Referenced by OSResult::getUsedCPUNumberDescription(), OSResult::getUsedCPUNumberValue(), IsEqual(), setRandom(), OSResult::setUsedCPUNumberDescription(), OSResult::setUsedCPUNumberValue(), OSrLWriter::writeOSrL(), and ~JobResult().
a pointer to the OtherResults class
Definition at line 699 of file OSResult.h.
Referenced by OSResult::getNumberOfOtherJobResults(), OSResult::getOtherJobResultDescription(), OSResult::getOtherJobResultName(), OSResult::getOtherJobResultValue(), IsEqual(), OSResult::setNumberOfOtherJobResults(), setRandom(), OSrLWriter::writeOSrL(), and ~JobResult().
Definition at line 320 of file OSResult.h.