#include <OptionEntry.h>

Public Member Functions | |
| OptionEntryFixedVector (std::list< OptionEntry * > &group, const char *name, const char *description, unsigned int data, FixedVector defaultValue) | |
| virtual | ~OptionEntryFixedVector () |
| virtual EntryType | getEntryType () |
| virtual const char * | getValueAsString () |
| virtual const char * | getDefaultValueAsString () |
| virtual bool | setValueFromString (const std::string &string) |
| virtual FixedVector & | getValue () |
| virtual bool | setValue (FixedVector value) |
| virtual bool | addToArgParser (ARGParser &parser) |
| virtual bool | isDefaultValue () |
| operator FixedVector () | |
Protected Attributes | |
| FixedVector | defaultValue_ |
| FixedVector | value_ |
Definition at line 385 of file OptionEntry.h.
| OptionEntryFixedVector::OptionEntryFixedVector | ( | std::list< OptionEntry * > & | group, | |
| const char * | name, | |||
| const char * | description, | |||
| unsigned int | data, | |||
| FixedVector | defaultValue | |||
| ) |
Definition at line 817 of file OptionEntry.cpp.
| OptionEntryFixedVector::~OptionEntryFixedVector | ( | ) | [virtual] |
Definition at line 828 of file OptionEntry.cpp.
| virtual EntryType OptionEntryFixedVector::getEntryType | ( | ) | [inline, virtual] |
Implements OptionEntry.
Definition at line 395 of file OptionEntry.h.
References OptionEntry::OptionEntryFixedVectorType.
| const char * OptionEntryFixedVector::getValueAsString | ( | ) | [virtual] |
| const char * OptionEntryFixedVector::getDefaultValueAsString | ( | ) | [virtual] |
Implements OptionEntry.
Definition at line 845 of file OptionEntry.cpp.
References defaultValue_, and snprintf.
| bool OptionEntryFixedVector::setValueFromString | ( | const std::string & | string | ) | [virtual] |
| FixedVector & OptionEntryFixedVector::getValue | ( | ) | [virtual] |
Definition at line 872 of file OptionEntry.cpp.
References value_.
Referenced by OptionsTransient::getWindDirection().
| bool OptionEntryFixedVector::setValue | ( | FixedVector | value | ) | [virtual] |
Definition at line 877 of file OptionEntry.cpp.
References OptionEntry::changedValue_, and value_.
Referenced by OptionsTransient::newGameWind(), OptionsTransient::nextRoundWind(), and setValueFromString().
| bool OptionEntryFixedVector::addToArgParser | ( | ARGParser & | parser | ) | [virtual] |
| virtual bool OptionEntryFixedVector::isDefaultValue | ( | ) | [inline, virtual] |
Implements OptionEntry.
Definition at line 404 of file OptionEntry.h.
References defaultValue_, and value_.
| OptionEntryFixedVector::operator FixedVector | ( | ) | [inline] |
FixedVector OptionEntryFixedVector::defaultValue_ [protected] |
Definition at line 409 of file OptionEntry.h.
Referenced by getDefaultValueAsString(), and isDefaultValue().
FixedVector OptionEntryFixedVector::value_ [protected] |
Definition at line 410 of file OptionEntry.h.
Referenced by getValue(), getValueAsString(), isDefaultValue(), operator FixedVector(), and setValue().
1.5.3