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

YASA_RESOURCEACTION Class Reference

#include <datatypes.h>

Inheritance diagram for YASA_RESOURCEACTION:

Inheritance graph
[legend]
Collaboration diagram for YASA_RESOURCEACTION:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 YASA_RESOURCEACTION (int p=YASAA_NO_MORE_ACTION)
 YASA_RESOURCEACTION (const YASA_RESOURCEACTION *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.

 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_RESOURCEACTION::YASA_RESOURCEACTION int    p = YASAA_NO_MORE_ACTION [inline]
 

YASA_RESOURCEACTION::YASA_RESOURCEACTION const YASA_RESOURCEACTION *    p [inline]
 


Member Function Documentation

virtual bool YASA_RESOURCEACTION::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_RESOURCEACTION::GetContentString   const [inline, virtual]
 

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

Reimplemented from YDerivedObject.

virtual QString YASA_RESOURCEACTION::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_RESOURCEACTION::operator int   const [inline]
 

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

This operator sets the content of the instance.

Reimplemented from YDerivedType< int >.

int YASA_RESOURCEACTION::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:52:02 2003 for Yasa by doxygen1.3-rc3