#include
Public Member Functions | |
SAreaTypeAndFlags (const value_type &value) | |
SAreaTypeAndFlags (const SAreaTypeAndFlags &other) | |
bool | operator== (const SAreaTypeAndFlags &other) const |
value_type | GetFlags () const |
void | SetFlags (value_type flags) |
value_type | GetType () const |
void | SetType (value_type type) |
value_type | GetRawValue () const |
Static Public Member Functions | |
static constexpr size_t | MaxAreasCount () |
static constexpr size_t | MaxFlagsCount () |
Template structure that is combining values of area 'type' (index) and 'flags' in one variable. areaTypeBitCount template parameter specifies how many bits of the BaseType should be used for storing 'type', remaining bits are then used for 'flags'. Example: SAreaTypeAndFlags