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

#include <ice/hashmap.hxx>

Public Member Functions

constexpr ConstIterator (std::nullptr_t) noexcept
constexpr ConstIterator (EntryType const *entry, Type const *value) noexcept
constexpr auto key () const noexcept -> ice::u64 const &
constexpr auto value () const noexcept -> Type const &
constexpr auto operator== (ConstIterator const &other) const noexcept
constexpr auto operator!= (ConstIterator const &other) const noexcept
constexpr void operator++ () noexcept
constexpr auto operator* () const noexcept -> Type const &

Public Attributes

EntryType const * _entry
ValueType const * _value

Constructor & Destructor Documentation

◆ ConstIterator() [1/2]

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

◆ ConstIterator() [2/2]

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
ice::HashMap< Type, Logic >::ConstIterator::ConstIterator ( EntryType const * entry,
Type const * value )
inlineconstexprnoexcept

Member Function Documentation

◆ key()

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

◆ operator!=()

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
auto ice::HashMap< Type, Logic >::ConstIterator::operator!= ( ConstIterator const & other) const
inlineconstexprnoexcept

◆ operator*()

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

◆ operator++()

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

◆ operator==()

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
auto ice::HashMap< Type, Logic >::ConstIterator::operator== ( ConstIterator const & other) const
inlineconstexprnoexcept

◆ value()

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

Member Data Documentation

◆ _entry

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
EntryType const* ice::HashMap< Type, Logic >::ConstIterator::_entry

◆ _value

template<typename Type, ice::ContainerLogic Logic = ice::Constant_DefaultContainerLogic<Type>>
ValueType const* ice::HashMap< Type, Logic >::ConstIterator::_value

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