Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

YASA_PRIORITY Class Reference

#include <datatypes.h>

Inheritance diagram for YASA_PRIORITY:

Inheritance graph
[legend]
Collaboration diagram for YASA_PRIORITY:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 YASA_PRIORITY (int p=YG_MIN_PRIORITY)
 YASA_PRIORITY (const YASA_PRIORITY *p)
virtual QString GetContentString () const
 Returns the content as string, e.g. for writing configuration files.

virtual QString GetVisibleContentString () const
virtual int ReadFromString (const QString &s)
 Read the contents from a string, e.g. reading from configuration files.

int operator- (const YASA_PRIORITY &p) const
bool operator< (const YASA_PRIORITY &p) const
bool operator<= (const YASA_PRIORITY &p) const
bool operator> (const YASA_PRIORITY &p) const
bool operator>= (const YASA_PRIORITY &p) const
 operator int () const
const int & operator= (const int &c)
 This operator sets the content of the instance.

virtual bool CheckLimits (int &dest, const int &source) const

Constructor & Destructor Documentation

YASA_PRIORITY::YASA_PRIORITY int    p = YG_MIN_PRIORITY [inline]
 

YASA_PRIORITY::YASA_PRIORITY const YASA_PRIORITY *    p [inline]
 


Member Function Documentation

virtual bool YASA_PRIORITY::CheckLimits int &    dest,
const int &    source
const [inline, virtual]
 

Checks the limits of and copies a final version to dest which will be used during SetContent()

Returns:
true=content can be set

false=content can not be set

Reimplemented from YDerivedType< int >.

virtual QString YASA_PRIORITY::GetContentString   const [inline, virtual]
 

Returns the content as string, e.g. for writing configuration files.

Reimplemented from YDerivedObject.

virtual QString YASA_PRIORITY::GetVisibleContentString   const [inline, virtual]
 

Returns a visible string of the content. This is used to print the contents in a localized way (such as "infinity")

Reimplemented from YDerivedObject.

YASA_PRIORITY::operator int   const [inline]
 

int YASA_PRIORITY::operator- const YASA_PRIORITY &    p const [inline]
 

bool YASA_PRIORITY::operator< const YASA_PRIORITY &    p const [inline]
 

bool YASA_PRIORITY::operator<= const YASA_PRIORITY &    p const [inline]
 

const int& YASA_PRIORITY::operator= const int &    c [inline]
 

This operator sets the content of the instance.

Reimplemented from YDerivedType< int >.

bool YASA_PRIORITY::operator> const YASA_PRIORITY &    p const [inline]
 

bool YASA_PRIORITY::operator>= const YASA_PRIORITY &    p const [inline]
 

int YASA_PRIORITY::ReadFromString const QString &    content [virtual]
 

Read the contents from a string, e.g. reading from configuration files.

Reimplemented from YDerivedObject.


The documentation for this class was generated from the following files:
Generated on Thu Feb 13 23:51:52 2003 for Yasa by doxygen1.3-rc3