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

YObjectArgs Class Reference

#include <object.h>

Collaboration diagram for YObjectArgs:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const QString & GetName () const
 Returns the name of the object.

YActionsGetActions () const
 Returns a ptr to the global actions. YActions* can be zero.

YSetGetSet () const
 Returns a ptr to the list if this object contains to a list. YSet* can be zero.

 YObjectArgs (const YObjectArgs &i, YActions *a=0, YSet *s=0)
 YObjectArgs (const QString &str=QString::null, YActions *a=0, YSet *s=0)

Private Attributes

QString name
 localized name of object e.g. "task 1" if set otherwise ""

YActionsactions
 ptr to object actions

YSetset
 ptr to parent list which contains the object to be created


Detailed Description

This class contains the arguments to create an object. The contents will be copied during initialization so it is safe to destroy YObjectArgs later.


Constructor & Destructor Documentation

YObjectArgs::YObjectArgs const YObjectArgs &    i,
YActions   a = 0,
YSet   s = 0
[inline]
 

These are the constructors of YID. The instance will be initialized with the given parameters. After construction of the final object it is safe to destroy the objectargs

YObjectArgs::YObjectArgs const QString &    str = QString::null,
YActions   a = 0,
YSet   s = 0
[inline]
 

These are the constructors of YID. The instance will be initialized with the given parameters. After construction of the final object it is safe to destroy the objectargs


Member Function Documentation

YActions* YObjectArgs::GetActions   const [inline]
 

Returns a ptr to the global actions. YActions* can be zero.

const QString& YObjectArgs::GetName   const [inline]
 

Returns the name of the object.

YSet* YObjectArgs::GetSet   const [inline]
 

Returns a ptr to the list if this object contains to a list. YSet* can be zero.


Member Data Documentation

YActions* YObjectArgs::actions [private]
 

ptr to object actions

QString YObjectArgs::name [private]
 

localized name of object e.g. "task 1" if set otherwise ""

YSet* YObjectArgs::set [private]
 

ptr to parent list which contains the object to be created


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