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 \
317 RTTR_CONSTEXPR RTTR_INLINE rttr::detail::invalid_enum_flag operator|(Flags::type lhs, int rhs) \
constexpr bool test_flag(Enum flag) const noexcept
This will test whether the given flag flag was set.
Definition: access_levels.h:32
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:109
detail::conditional_t< std::is_signed< typename std::underlying_type< Enum >::type >::value, int32_t, uint32_t > enum_type
Definition: enum_flags.h:117
constexpr enum_flags(zero=nullptr) noexcept
Creates an enum_flags object with no flags set.
Generated on Sat Jan 25 2020 00:20:08 for rttr - 0.9.6 by doxygen.