IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::MultiHashMap< Type, Logic >::ConstMultiIterator Struct Reference

#include <ice/multi_hashmap.hxx>

Public Member Functions

constexpr ConstMultiIterator (std::nullptr_t) noexcept
constexpr ConstMultiIterator (ice::u32 current_entry, EntryType const *entries, ValueType const *values) noexcept
constexpr bool valid () const noexcept
constexpr void next () noexcept
constexpr auto key () const noexcept -> ice::u64 const &
constexpr auto value () const noexcept -> Type const &
constexpr bool operator== (ConstMultiIterator const &other) const noexcept
constexpr void operator++ () noexcept
constexpr auto operator* () const noexcept -> Type const &

Public Attributes

ice::u32 _current
EntryType const * _entries
ValueType const * _values

Constructor & Destructor Documentation

◆ ConstMultiIterator() [1/2]

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
ice::MultiHashMap< Type, Logic >::ConstMultiIterator::ConstMultiIterator ( std::nullptr_t )
inlineconstexprnoexcept

◆ ConstMultiIterator() [2/2]

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
ice::MultiHashMap< Type, Logic >::ConstMultiIterator::ConstMultiIterator ( ice::u32 current_entry,
EntryType const * entries,
ValueType const * values )
inlineconstexprnoexcept

Member Function Documentation

◆ key()

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
auto ice::MultiHashMap< Type, Logic >::ConstMultiIterator::key ( ) const -> ice::u64 const &
inlineconstexprnoexcept

◆ next()

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
void ice::MultiHashMap< Type, Logic >::ConstMultiIterator::next ( )
inlineconstexprnoexcept

◆ operator*()

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
auto ice::MultiHashMap< Type, Logic >::ConstMultiIterator::operator* ( ) const -> Type const &
inlineconstexprnoexcept

◆ operator++()

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
void ice::MultiHashMap< Type, Logic >::ConstMultiIterator::operator++ ( )
inlineconstexprnoexcept

◆ operator==()

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
bool ice::MultiHashMap< Type, Logic >::ConstMultiIterator::operator== ( ConstMultiIterator const & other) const
inlineconstexprnoexcept

◆ valid()

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
bool ice::MultiHashMap< Type, Logic >::ConstMultiIterator::valid ( ) const
inlineconstexprnoexcept

◆ value()

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
auto ice::MultiHashMap< Type, Logic >::ConstMultiIterator::value ( ) const -> Type const &
inlineconstexprnoexcept

Member Data Documentation

◆ _current

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
ice::u32 ice::MultiHashMap< Type, Logic >::ConstMultiIterator::_current

◆ _entries

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
EntryType const* ice::MultiHashMap< Type, Logic >::ConstMultiIterator::_entries

◆ _values

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
ValueType const* ice::MultiHashMap< Type, Logic >::ConstMultiIterator::_values

The documentation for this struct was generated from the following file: