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

#include <ListMap.hpp>

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

Public Member Functions

std::unique_ptr< AttributeMapHandleIterator< HandleT > > clone () const final
 
 ListMapIterator (typename vector< pair< 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

vector< pair< HandleT, ValueT > >::const_iterator m_iter
 

Detailed Description

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

Definition at line 128 of file ListMap.hpp.

Constructor & Destructor Documentation

◆ ListMapIterator()

template<typename HandleT , typename ValueT >
lvr2::ListMapIterator< HandleT, ValueT >::ListMapIterator ( typename vector< pair< HandleT, ValueT >>::const_iterator  iter)

Member Function Documentation

◆ clone()

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

◆ operator!=()

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

◆ operator*()

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

Returns the current handle.

Implements lvr2::AttributeMapHandleIterator< HandleT >.

◆ operator++()

template<typename HandleT , typename ValueT >
AttributeMapHandleIterator<HandleT>& lvr2::ListMapIterator< 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::ListMapIterator< HandleT, ValueT >::operator== ( const AttributeMapHandleIterator< HandleT > &  other) const
finalvirtual

Member Data Documentation

◆ m_iter

template<typename HandleT , typename ValueT >
vector<pair<HandleT, ValueT> >::const_iterator lvr2::ListMapIterator< HandleT, ValueT >::m_iter
private

Definition at line 140 of file ListMap.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 Wed Mar 2 2022 00:37:27