#include <datatypes.h>
Inheritance diagram for YASA_CPU:
Public Member Functions | |
YASA_CPU (int c=YG_MIN_CPU) | |
YASA_CPU (const YASA_CPU *c, int c2=YG_MIN_CPU) | |
virtual QString | GetContentString () const |
Returns the content as string, e.g. for writing configuration files. | |
virtual QString | GetVisibleContentString () const |
virtual int | GetMinValue () const |
virtual int | ReadFromString (const QString &s) |
Read the contents from a string, e.g. reading from configuration files. | |
bool | operator< (const YASA_CPU &c) const |
bool | operator<= (const YASA_CPU &c) const |
bool | operator> (const YASA_CPU &c) const |
bool | operator>= (const YASA_CPU &c) const |
const int & | operator= (const int &c) |
This operator sets the content of the instance. | |
operator int () const | |
virtual bool | CheckLimits (int &dest, const int &source) const |
|
|
|
|
|
Checks if the parent objects have set lower maximum cpus. If yes corrent the given value. If the parameter is Reimplemented from YDerivedType< int >. Reimplemented in YASA_MAXCPU. |
|
Returns the content as string, e.g. for writing configuration files.
Reimplemented from YDerivedObject. |
|
Reimplemented in YASA_MAXCPU. |
|
Returns a visible string of the content. This is used to print the contents in a localized way (such as "infinity") Reimplemented from YDerivedObject. |
|
Reimplemented in YASA_MAXCPU. |
|
Reimplemented in YASA_MAXCPU. |
|
Reimplemented in YASA_MAXCPU. |
|
This operator sets the content of the instance.
Reimplemented from YDerivedType< int >. Reimplemented in YASA_MAXCPU. |
|
Reimplemented in YASA_MAXCPU. |
|
Reimplemented in YASA_MAXCPU. |
|
Read the contents from a string, e.g. reading from configuration files.
Reimplemented from YDerivedObject. |