AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#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) |
|
inlineconstexpr |
|
inlineconstexpr |
References EnumFlag< T >::_value.
|
inlineconstexpr |
References EnumFlag< T >::_value.
|
inlineconstexpr |
References EnumFlag< T >::_value.
Referenced by SmartScript::ProcessAction().
|
inlineconstexpr |
References EnumFlag< T >::_value.
|
inlineconstexpr |
References EnumFlag< T >::_value.
|
inlineconstexpr |
References EnumFlag< T >::_value.
References EnumFlag< T >::_value.
|
inlineconstexpr |
References EnumFlag< T >::_value.
|
friend |
|
friend |
|
private |