|
OpenTTD Source 15.0-beta1
|
Data of an option. More...
#include <getoptdata.h>
Data Fields | |
| OptionDataType | type |
| The type of option. | |
| char | id |
| Unique identification of this option data, often the same as shortname. | |
| char | shortname = '\0' |
Short option letter if available, else use '\0'. | |
| const char * | longname = nullptr |
Long option name including '-'/'–' prefix, use nullptr if not available. | |
Data of an option.
Definition at line 21 of file getoptdata.h.
| char OptionData::id |
Unique identification of this option data, often the same as shortname.
Definition at line 23 of file getoptdata.h.
| const char* OptionData::longname = nullptr |
Long option name including '-'/'–' prefix, use nullptr if not available.
Definition at line 25 of file getoptdata.h.
| char OptionData::shortname = '\0' |
Short option letter if available, else use '\0'.
Definition at line 24 of file getoptdata.h.
| OptionDataType OptionData::type |
The type of option.
Definition at line 22 of file getoptdata.h.