Public Member Functions | Private Attributes | List of all members
lvr2::HashMapIterator< HandleT, ValueT > Class Template Reference

#include <HashMap.hpp>

Inheritance diagram for lvr2::HashMapIterator< HandleT, ValueT >:
Inheritance graph
[legend]

Public Member Functions

std::unique_ptr< AttributeMapHandleIterator< HandleT > > clone () const final
 
 HashMapIterator (typename unordered_map< HandleT, ValueT >::const_iterator iter)
 
bool operator!= (const AttributeMapHandleIterator< HandleT > &other) const final
 
HandleT operator* () const final
 Returns the current handle. More...
 
AttributeMapHandleIterator< HandleT > & operator++ () final
 
bool operator== (const AttributeMapHandleIterator< HandleT > &other) const final
 
- Public Member Functions inherited from lvr2::AttributeMapHandleIterator< HandleT >
virtual ~AttributeMapHandleIterator ()=default
 

Private Attributes

unordered_map< HandleT, ValueT >::const_iterator m_iter
 

Detailed Description

template<typename HandleT, typename ValueT>
class lvr2::HashMapIterator< HandleT, ValueT >

Definition at line 104 of file HashMap.hpp.

Constructor & Destructor Documentation

◆ HashMapIterator()

template<typename HandleT , typename ValueT >
lvr2::HashMapIterator< HandleT, ValueT >::HashMapIterator ( typename unordered_map< HandleT, ValueT >::const_iterator  iter)

Member Function Documentation

◆ clone()

template<typename HandleT , typename ValueT >
std::unique_ptr<AttributeMapHandleIterator<HandleT> > lvr2::HashMapIterator< HandleT, ValueT >::clone ( ) const
finalvirtual

◆ operator!=()

template<typename HandleT , typename ValueT >
bool lvr2::HashMapIterator< HandleT, ValueT >::operator!= ( const AttributeMapHandleIterator< HandleT > &  other) const
finalvirtual

◆ operator*()

template<typename HandleT , typename ValueT >
HandleT lvr2::HashMapIterator< HandleT, ValueT >::operator* ( ) const
finalvirtual

Returns the current handle.

Implements lvr2::AttributeMapHandleIterator< HandleT >.

◆ operator++()

template<typename HandleT , typename ValueT >
AttributeMapHandleIterator<HandleT>& lvr2::HashMapIterator< HandleT, ValueT >::operator++ ( )
finalvirtual

Advances the iterator once. Using the dereference operator afterwards will yield the next handle.

Implements lvr2::AttributeMapHandleIterator< HandleT >.

◆ operator==()

template<typename HandleT , typename ValueT >
bool lvr2::HashMapIterator< HandleT, ValueT >::operator== ( const AttributeMapHandleIterator< HandleT > &  other) const
finalvirtual

Member Data Documentation

◆ m_iter

template<typename HandleT , typename ValueT >
unordered_map<HandleT, ValueT>::const_iterator lvr2::HashMapIterator< HandleT, ValueT >::m_iter
private

Definition at line 116 of file HashMap.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:11