Iteratate over the values of the enumeration.
More...
#include <enum.h>
|
| static const Enumeration | begin_element = static_cast <Enumeration> (0) |
| |
template<typename Enumeration, Enumeration end_element = Enumeration::Count>
class Enum< Enumeration, end_element >
Iteratate over the values of the enumeration.
- Template Parameters
-
| Enumeration | The enumeration type. |
| end_element | The stop element. As with all iterators, this is an "extra" value at the end of the enumeration, one above the last meaningful value of the enumeration. May default if named "Count". |
◆ enumeration_type
template<typename Enumeration , Enumeration end_element = Enumeration::Count>
◆ begin()
template<typename Enumeration , Enumeration end_element = Enumeration::Count>
Get a new iterator for the first item of the enumeration.
◆ end()
template<typename Enumeration , Enumeration end_element = Enumeration::Count>
Get a new iterator for the terminator item of the enumeration.
◆ isValid()
template<typename Enumeration , Enumeration end_element = Enumeration::Count>
| bool Enum< Enumeration, end_element >::isValid |
( |
Enumeration |
value | ) |
|
|
inline |
◆ begin_element
template<typename Enumeration , Enumeration end_element = Enumeration::Count>
| const Enumeration Enum< Enumeration, end_element >::begin_element = static_cast <Enumeration> (0) |
|
staticprivate |
The documentation for this class was generated from the following file: