enum_flags.h
Go to the documentation of this file.
92 using enum_type = detail::conditional_t<std::is_signed<typename std::underlying_type<Enum>::type>::value,
309 RTTR_CONSTEXPR RTTR_INLINE rttr::enum_flags<Flags::type> operator|(Flags::type lhs, Flags::type rhs) RTTR_NOEXCEPT \
313 RTTR_CONSTEXPR RTTR_INLINE rttr::enum_flags<Flags::type> operator|(Flags::type lhs, rttr::enum_flags<Flags::type> rhs) RTTR_NOEXCEPT \
constexpr bool test_flag(Enum flag) const noexcept
This will test whether the given flag flag was set.
Definition: access_levels.h:34
detail::enum_data< Enum_Type > value(string_view, Enum_Type value)
The value function should be used to add a mapping from enum name to value during the registration pr...
The enum_flags class template is used to store OR-combinations of enum values in a type-safe way.
Definition: enum_flags.h:87
detail::conditional_t< std::is_signed< typename std::underlying_type< Enum >::type >::value, int32_t, uint32_t > enum_type
Definition: enum_flags.h:94
constexpr enum_flags(zero=nullptr) noexcept
Creates an enum_flags object with no flags set.
Generated on Sat Dec 5 2020 18:26:57 for rttr - 0.9.6 by doxygen.