#include <OptionEntry.h>

Public Member Functions | |
| OptionEntryFixed (std::list< OptionEntry * > &group, const char *name, const char *description, unsigned int data, fixed defaultValue) | |
| virtual | ~OptionEntryFixed () |
| virtual EntryType | getEntryType () |
| virtual const char * | getValueAsString () |
| virtual const char * | getDefaultValueAsString () |
| virtual bool | setValueFromString (const std::string &string) |
| virtual fixed | getValue () |
| virtual bool | setValue (fixed value) |
| virtual bool | addToArgParser (ARGParser &parser) |
| virtual bool | isDefaultValue () |
| operator fixed () | |
Protected Attributes | |
| fixed | defaultValue_ |
| fixed | value_ |
Definition at line 356 of file OptionEntry.h.
| OptionEntryFixed::OptionEntryFixed | ( | std::list< OptionEntry * > & | group, | |
| const char * | name, | |||
| const char * | description, | |||
| unsigned int | data, | |||
| fixed | defaultValue | |||
| ) |
Definition at line 768 of file OptionEntry.cpp.
| OptionEntryFixed::~OptionEntryFixed | ( | ) | [virtual] |
Definition at line 779 of file OptionEntry.cpp.
| virtual EntryType OptionEntryFixed::getEntryType | ( | ) | [inline, virtual] |
Implements OptionEntry.
Definition at line 366 of file OptionEntry.h.
References OptionEntry::OptionEntryFixedType.
| const char * OptionEntryFixed::getValueAsString | ( | ) | [virtual] |
Implements OptionEntry.
Definition at line 784 of file OptionEntry.cpp.
References fixed::asString(), and value_.
| const char * OptionEntryFixed::getDefaultValueAsString | ( | ) | [virtual] |
Implements OptionEntry.
Definition at line 789 of file OptionEntry.cpp.
References fixed::asString(), and defaultValue_.
| bool OptionEntryFixed::setValueFromString | ( | const std::string & | string | ) | [virtual] |
| fixed OptionEntryFixed::getValue | ( | ) | [virtual] |
Definition at line 799 of file OptionEntry.cpp.
References value_.
Referenced by OptionsTransient::getWindAngle(), OptionsTransient::getWindOn(), OptionsTransient::getWindSpeed(), OptionsTransient::newGameWind(), and OptionsTransient::nextRoundWind().
| bool OptionEntryFixed::setValue | ( | fixed | value | ) | [virtual] |
Definition at line 804 of file OptionEntry.cpp.
References OptionEntry::changedValue_, and value_.
Referenced by OptionsTransient::newGameWind(), OptionsTransient::nextRoundWind(), and setValueFromString().
| bool OptionEntryFixed::addToArgParser | ( | ARGParser & | parser | ) | [virtual] |
| virtual bool OptionEntryFixed::isDefaultValue | ( | ) | [inline, virtual] |
Implements OptionEntry.
Definition at line 375 of file OptionEntry.h.
References defaultValue_, and value_.
| OptionEntryFixed::operator fixed | ( | ) | [inline] |
fixed OptionEntryFixed::defaultValue_ [protected] |
Definition at line 380 of file OptionEntry.h.
Referenced by getDefaultValueAsString(), and isDefaultValue().
fixed OptionEntryFixed::value_ [protected] |
Definition at line 381 of file OptionEntry.h.
Referenced by getValue(), getValueAsString(), isDefaultValue(), operator fixed(), and setValue().
1.5.3