#include <OptionEntry.h>

Public Member Functions | |
| OptionEntryVector (std::list< OptionEntry * > &group, const char *name, const char *description, unsigned int data, Vector defaultValue, bool truncate=false) | |
| virtual | ~OptionEntryVector () |
| virtual EntryType | getEntryType () |
| virtual const char * | getValueAsString () |
| virtual const char * | getDefaultValueAsString () |
| virtual bool | setValueFromString (const std::string &string) |
| virtual Vector & | getValue () |
| virtual bool | setValue (Vector value) |
| virtual bool | addToArgParser (ARGParser &parser) |
| virtual bool | isDefaultValue () |
| operator Vector () | |
Protected Attributes | |
| bool | truncate_ |
| Vector | defaultValue_ |
| Vector | value_ |
Definition at line 325 of file OptionEntry.h.
| OptionEntryVector::OptionEntryVector | ( | std::list< OptionEntry * > & | group, | |
| const char * | name, | |||
| const char * | description, | |||
| unsigned int | data, | |||
| Vector | defaultValue, | |||
| bool | truncate = false | |||
| ) |
Definition at line 693 of file OptionEntry.cpp.
| OptionEntryVector::~OptionEntryVector | ( | ) | [virtual] |
Definition at line 705 of file OptionEntry.cpp.
| virtual EntryType OptionEntryVector::getEntryType | ( | ) | [inline, virtual] |
Implements OptionEntry.
Definition at line 336 of file OptionEntry.h.
References OptionEntry::OptionEntryVectorType.
| const char * OptionEntryVector::getValueAsString | ( | ) | [virtual] |
| const char * OptionEntryVector::getDefaultValueAsString | ( | ) | [virtual] |
Implements OptionEntry.
Definition at line 726 of file OptionEntry.cpp.
References defaultValue_, snprintf, and truncate_.
| bool OptionEntryVector::setValueFromString | ( | const std::string & | string | ) | [virtual] |
| Vector & OptionEntryVector::getValue | ( | ) | [virtual] |
| bool OptionEntryVector::setValue | ( | Vector | value | ) | [virtual] |
Definition at line 755 of file OptionEntry.cpp.
References OptionEntry::changedValue_, and value_.
Referenced by PlayerDialog::buttonDown(), and setValueFromString().
| bool OptionEntryVector::addToArgParser | ( | ARGParser & | parser | ) | [virtual] |
| virtual bool OptionEntryVector::isDefaultValue | ( | ) | [inline, virtual] |
Implements OptionEntry.
Definition at line 345 of file OptionEntry.h.
References defaultValue_, and value_.
| OptionEntryVector::operator Vector | ( | ) | [inline] |
bool OptionEntryVector::truncate_ [protected] |
Definition at line 350 of file OptionEntry.h.
Referenced by getDefaultValueAsString(), and getValueAsString().
Vector OptionEntryVector::defaultValue_ [protected] |
Definition at line 351 of file OptionEntry.h.
Referenced by getDefaultValueAsString(), and isDefaultValue().
Vector OptionEntryVector::value_ [protected] |
Definition at line 352 of file OptionEntry.h.
Referenced by getValue(), getValueAsString(), isDefaultValue(), operator Vector(), and setValue().
1.5.3