#include <OSGeneral.h>
Public Member Functions | |
CPUNumber () | |
Default constructor. | |
~CPUNumber () | |
Class destructor. | |
bool | IsEqual (CPUNumber *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. | |
Public Attributes | |
std::string | description |
additional description about the CPU | |
int | value |
the number of CPUs |
the CPUNumber class.
Definition at line 767 of file OSGeneral.h.
CPUNumber::CPUNumber | ( | ) |
Default constructor.
Definition at line 1189 of file OSGeneral.cpp.
CPUNumber::~CPUNumber | ( | ) |
Class destructor.
Definition at line 1195 of file OSGeneral.cpp.
bool CPUNumber::IsEqual | ( | CPUNumber * | that | ) |
A function to check for the equality of two objects.
Definition at line 1202 of file OSGeneral.cpp.
bool CPUNumber::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" attributes and <XXX> children) |
Definition at line 1241 of file OSGeneral.cpp.
std::string CPUNumber::description |
additional description about the CPU
Definition at line 772 of file OSGeneral.h.
int CPUNumber::value |
the number of CPUs
Definition at line 775 of file OSGeneral.h.