OpenTTD Source
20240919-master-gdf0233f4c2
|
Go to the source code of this file.
Macros | |
#define | DECLARE_POSTFIX_INCREMENT(enum_type) |
Some enums need to have allowed incrementing (i.e. More... | |
#define | DECLARE_ENUM_AS_BIT_SET(enum_type) |
Operators to allow to work with enum as with type safe bit set in C++. More... | |
#define | DECLARE_ENUM_AS_ADDABLE(EnumType) |
Operator that allows this enumeration to be added to any other enumeration. More... | |
Type (helpers) for enums
Definition in file enum_type.hpp.
#define DECLARE_ENUM_AS_ADDABLE | ( | EnumType | ) |
Operator that allows this enumeration to be added to any other enumeration.
Definition at line 41 of file enum_type.hpp.
#define DECLARE_ENUM_AS_BIT_SET | ( | enum_type | ) |
Operators to allow to work with enum as with type safe bit set in C++.
Definition at line 31 of file enum_type.hpp.
#define DECLARE_POSTFIX_INCREMENT | ( | enum_type | ) |
Some enums need to have allowed incrementing (i.e.
StationClassID)
Definition at line 14 of file enum_type.hpp.