OpenTTD
EnumPropsT< Direction > Struct Template Reference

Allow incrementing of Direction variables. More...

#include <direction_type.h>

Inheritance diagram for EnumPropsT< Direction >:
MakeEnumPropsT< Direction, byte, DIR_BEGIN, DIR_END, INVALID_DIR, 3 >

Additional Inherited Members

- Public Types inherited from MakeEnumPropsT< Direction, byte, DIR_BEGIN, DIR_END, INVALID_DIR, 3 >
typedef Direction type
 enum type (i.e. Trackdir)
typedef byte storage
 storage type (i.e. byte)
- Static Public Attributes inherited from MakeEnumPropsT< Direction, byte, DIR_BEGIN, DIR_END, INVALID_DIR, 3 >
static const Direction begin
 lowest valid value (i.e. TRACKDIR_BEGIN)
static const Direction end
 one after the last valid value (i.e. TRACKDIR_END)
static const Direction invalid
 what value is used as invalid value (i.e. INVALID_TRACKDIR)
static const uint num_bits
 Number of bits for storing the enum in command parameters.

Detailed Description

template<>
struct EnumPropsT< Direction >

Allow incrementing of Direction variables.

Define basic enum properties

Definition at line 44 of file direction_type.h.


The documentation for this struct was generated from the following file: