zEffectorSetting Class Reference

#include <zEffector.h>

Inheritance diagram for zEffectorSetting:

Inheritance graph
[legend]
Collaboration diagram for zEffectorSetting:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 zEffectorSetting ()
 zEffectorSetting (zEffectorSetting const &other)
void operator= (zEffectorSetting const &other)
virtual zEffectorSettingcopy (void) const
 overloaded assignment operator
virtual ~zEffectorSetting ()
void setSettingName (tString name)
void setSettingValue (tString value)
tString getSettingName () const
tString getSettingValue () const
virtual void effect (gVectorExtra< ePlayerNetID * > &d_calculatedTargets)

Static Public Member Functions

static zEffectorcreate ()

Protected Attributes

tString settingName
tString settingValue


Detailed Description

Definition at line 175 of file zEffector.h.


Constructor & Destructor Documentation

zEffectorSetting::zEffectorSetting (  )  [inline]

Definition at line 179 of file zEffector.h.

Referenced by copy(), and create().

00179 :zEffector(),settingName(),settingValue() { }; //<! Constructor

Here is the caller graph for this function:

zEffectorSetting::zEffectorSetting ( zEffectorSetting const &  other  )  [inline]

Definition at line 180 of file zEffector.h.

00180                                                    :
00181             zEffector(other),
00182             settingName(other.getSettingName()),
00183     settingValue(other.getSettingValue())  { };
    void operator=(zEffectorSetting const &other) { this->zEffector::operator=(other); }; 

virtual zEffectorSetting::~zEffectorSetting (  )  [inline, virtual]

Definition at line 186 of file zEffector.h.

00186 {};


Member Function Documentation

static zEffector* zEffectorSetting::create (  )  [inline, static]

Reimplemented from zEffector.

Definition at line 178 of file zEffector.h.

References zEffectorSetting().

00178 { return new zEffectorSetting(); };

Here is the call graph for this function:

void zEffectorSetting::operator= ( zEffectorSetting const &  other  )  [inline]

Definition at line 184 of file zEffector.h.

References zEffector::operator=().

00184 { this->zEffector::operator=(other); }; 

Here is the call graph for this function:

virtual zEffectorSetting* zEffectorSetting::copy ( void   )  const [inline, virtual]

overloaded assignment operator

Reimplemented from zEffector.

Definition at line 185 of file zEffector.h.

References zEffectorSetting().

00185 { return new zEffectorSetting(*this); };

Here is the call graph for this function:

void zEffectorSetting::setSettingName ( tString  name  )  [inline]

Definition at line 188 of file zEffector.h.

References settingName.

00188 {settingName = name;};

void zEffectorSetting::setSettingValue ( tString  value  )  [inline]

Definition at line 189 of file zEffector.h.

References settingValue.

00189 {settingValue = value;};

tString zEffectorSetting::getSettingName (  )  const [inline]

Definition at line 190 of file zEffector.h.

References settingName.

00190 {return settingName;};

tString zEffectorSetting::getSettingValue (  )  const [inline]

Definition at line 191 of file zEffector.h.

References settingValue.

00191 {return settingValue;};

void zEffectorSetting::effect ( gVectorExtra< ePlayerNetID * > &  d_calculatedTargets  )  [virtual]

Reimplemented from zEffector.

Definition at line 190 of file zEffector.cpp.

References tConfItemBase::LoadAll(), settingName, settingValue, and ss.

00191 {
00192     std::stringstream ss;
00193     ss << settingName  << " " << settingValue;
00194     tConfItemBase::LoadAll(ss);
00195 
00196 }

Here is the call graph for this function:


Member Data Documentation

tString zEffectorSetting::settingName [protected]

Definition at line 195 of file zEffector.h.

Referenced by effect(), getSettingName(), and setSettingName().

tString zEffectorSetting::settingValue [protected]

Definition at line 196 of file zEffector.h.

Referenced by effect(), getSettingValue(), and setSettingValue().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 00:01:38 2008 for Armagetron Advanced by  doxygen 1.5.4