TrinityCore
|
#include <EnumFlag.h>
Public Member Functions | |
constexpr | EnumFlag (T value) |
constexpr EnumFlag & | operator&= (EnumFlag right) |
constexpr EnumFlag & | operator|= (EnumFlag right) |
constexpr EnumFlag | operator~ () const |
constexpr void | RemoveFlag (EnumFlag flag) |
constexpr bool | HasFlag (T flag) const |
constexpr bool | HasAllFlags (T flags) const |
constexpr | operator T () const |
constexpr std::underlying_type_t< T > | AsUnderlyingType () const |
Private Attributes | |
T | _value |
Friends | |
constexpr friend EnumFlag | operator& (EnumFlag left, EnumFlag right) |
constexpr friend EnumFlag | operator| (EnumFlag left, EnumFlag right) |
Definition at line 65 of file EnumFlag.h.
|
inlineconstexpr |
Definition at line 70 of file EnumFlag.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 117 of file EnumFlag.h.
|
inlineconstexpr |
Definition at line 74 of file EnumFlag.h.
|
inlineconstexpr |
Definition at line 85 of file EnumFlag.h.
Definition at line 96 of file EnumFlag.h.
|
inlineconstexpr |
Definition at line 101 of file EnumFlag.h.
|
friend |
Definition at line 80 of file EnumFlag.h.
|
friend |
Definition at line 91 of file EnumFlag.h.
|
private |
Definition at line 128 of file EnumFlag.h.