#include <zEffector.h>
Public Member Functions | |
zEffectorSetting () | |
zEffectorSetting (zEffectorSetting const &other) | |
void | operator= (zEffectorSetting const &other) |
virtual zEffectorSetting * | copy (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 zEffector * | create () |
Protected Attributes | |
tString | settingName |
tString | settingValue |
Definition at line 175 of file zEffector.h.
zEffectorSetting::zEffectorSetting | ( | ) | [inline] |
Definition at line 179 of file zEffector.h.
Referenced by copy(), and create().
00179 :zEffector(),settingName(),settingValue() { }; //<! Constructor
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] |
static zEffector* zEffectorSetting::create | ( | ) | [inline, static] |
Reimplemented from zEffector.
Definition at line 178 of file zEffector.h.
References zEffectorSetting().
00178 { return new zEffectorSetting(); };
void zEffectorSetting::operator= | ( | zEffectorSetting const & | other | ) | [inline] |
Definition at line 184 of file zEffector.h.
References zEffector::operator=().
00184 { this->zEffector::operator=(other); };
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); };
void zEffectorSetting::setSettingName | ( | tString | name | ) | [inline] |
void zEffectorSetting::setSettingValue | ( | tString | value | ) | [inline] |
tString zEffectorSetting::getSettingName | ( | ) | const [inline] |
tString zEffectorSetting::getSettingValue | ( | ) | const [inline] |
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 }
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().