jaulib v1.3.6
Jau Support Library (C++, Java, ..)
|
Enumeration info template class including iterator (enum_iterator) More...
#include <enum_util.hpp>
Public Types | |
typedef enum_iterator< value_type, Vargs... > | const_iterator |
enum_iterator to iterate over all enum values (const enum values) | |
typedef ssize_t | difference_type |
typedef bool | enum_info_tag |
Used to determine whether this type is an enum_info, see is_enum_info<T> | |
typedef enum_iterator< value_type, Vargs... > | iterator |
enum_iterator to iterate over all enum values (const enum values) | |
typedef const value_type * | pointer |
pointer to value_type | |
typedef const value_type & | reference |
reference to value_type | |
typedef size_t | size_type |
typedef std::array< value_type, sizeof...(Vargs)> | value_array_t |
array type for all enum values (value_type), see size() | |
typedef EnumType | value_type |
enum value type, i.e. the enum type itself | |
Public Member Functions | |
constexpr | enum_info (const enum_info &o) noexcept=delete |
constexpr iterator | begin () const noexcept |
constexpr const_iterator | cbegin () const noexcept |
constexpr const_iterator | cend () const noexcept |
constexpr iterator | end () const noexcept |
constexpr std::string_view | name () const noexcept |
constexpr value_array_t | values () const noexcept |
Static Public Member Functions | |
static constexpr_cxx23 const enum_info & | get () noexcept |
static constexpr size_type | size () noexcept |
number of all enum values | |
Friends | |
class | enum_iterator< value_type, Vargs... > |
Enumeration info template class including iterator (enum_iterator)
Definition at line 264 of file enum_util.hpp.
typedef size_t jau::enums::enum_info< EnumType, Vargs >::size_type |
Definition at line 266 of file enum_util.hpp.
typedef ssize_t jau::enums::enum_info< EnumType, Vargs >::difference_type |
Definition at line 267 of file enum_util.hpp.
typedef EnumType jau::enums::enum_info< EnumType, Vargs >::value_type |
enum value type, i.e. the enum type itself
Definition at line 270 of file enum_util.hpp.
typedef const value_type* jau::enums::enum_info< EnumType, Vargs >::pointer |
pointer to value_type
Definition at line 273 of file enum_util.hpp.
typedef const value_type& jau::enums::enum_info< EnumType, Vargs >::reference |
reference to value_type
Definition at line 275 of file enum_util.hpp.
typedef enum_iterator<value_type, Vargs...> jau::enums::enum_info< EnumType, Vargs >::iterator |
enum_iterator to iterate over all enum values (const enum values)
Definition at line 278 of file enum_util.hpp.
typedef enum_iterator<value_type, Vargs...> jau::enums::enum_info< EnumType, Vargs >::const_iterator |
enum_iterator to iterate over all enum values (const enum values)
Definition at line 280 of file enum_util.hpp.
typedef bool jau::enums::enum_info< EnumType, Vargs >::enum_info_tag |
Used to determine whether this type is an enum_info, see is_enum_info<T>
Definition at line 283 of file enum_util.hpp.
typedef std::array<value_type, sizeof...(Vargs)> jau::enums::enum_info< EnumType, Vargs >::value_array_t |
array type for all enum values (value_type), see size()
Definition at line 286 of file enum_util.hpp.
|
constexprdeletenoexcept |
|
inlinestaticconstexprnoexcept |
number of all enum values
Definition at line 289 of file enum_util.hpp.
|
inlinestaticnoexcept |
Definition at line 305 of file enum_util.hpp.
|
inlineconstexprnoexcept |
Definition at line 310 of file enum_util.hpp.
|
inlineconstexprnoexcept |
Definition at line 311 of file enum_util.hpp.
|
inlineconstexprnoexcept |
Definition at line 313 of file enum_util.hpp.
|
inlineconstexprnoexcept |
Definition at line 314 of file enum_util.hpp.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 317 of file enum_util.hpp.
|
friend |
Definition at line 295 of file enum_util.hpp.