Clementine
|
Opaque iterator for meta sequence containers. More...
#include <entt.hpp>
Public Types | |
using | difference_type = std::ptrdiff_t |
Signed integer type. | |
using | value_type = meta_any |
Type of elements returned by the iterator. | |
using | pointer = void |
Pointer type, void on purpose. | |
using | reference = value_type |
Reference type, it is not an actual reference. | |
using | iterator_category = std::input_iterator_tag |
Iterator category. | |
Public Member Functions | |
meta_iterator () ENTT_NOEXCEPT=default | |
Default constructor. | |
template<typename It > | |
meta_iterator (It iter) | |
Constructs a meta iterator from a given iterator. More... | |
meta_iterator & | operator++ () ENTT_NOEXCEPT |
Pre-increment operator. More... | |
meta_iterator | operator++ (int) ENTT_NOEXCEPT |
Post-increment operator. More... | |
bool | operator== (const meta_iterator &other) const ENTT_NOEXCEPT |
Checks if two meta iterators refer to the same element. More... | |
bool | operator!= (const meta_iterator &other) const ENTT_NOEXCEPT |
Checks if two meta iterators refer to the same element. More... | |
reference | operator* () const |
Indirection operator. More... | |
operator bool () const ENTT_NOEXCEPT | |
Returns false if an iterator is invalid, true otherwise. More... | |
Friends | |
class | meta_sequence_container |
A meta sequence container can access the underlying iterator. | |
Opaque iterator for meta sequence containers.
|
inline |
Constructs a meta iterator from a given iterator.
It | Type of actual iterator with which to build the meta iterator. |
iter | The actual iterator with which to build the meta iterator. |
|
inlineexplicit |
Returns false if an iterator is invalid, true otherwise.
|
inline |
Checks if two meta iterators refer to the same element.
other | The meta iterator with which to compare. |
|
inline |
Indirection operator.
|
inline |
Pre-increment operator.
|
inline |
Post-increment operator.
|
inline |
Checks if two meta iterators refer to the same element.
other | The meta iterator with which to compare. |