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

Simple convinience wrapper for unique_ptr<AttributeMapHandleIterator> More...

#include <AttributeMap.hpp>

Public Member Functions

 AttributeMapHandleIteratorPtr (const AttributeMapHandleIteratorPtr &iteratorPtr)
 
 AttributeMapHandleIteratorPtr (std::unique_ptr< AttributeMapHandleIterator< HandleT >> iter)
 
bool operator!= (const AttributeMapHandleIteratorPtr &other) const
 
HandleT operator* () const
 
AttributeMapHandleIteratorPtroperator++ ()
 
bool operator== (const AttributeMapHandleIteratorPtr &other) const
 
virtual ~AttributeMapHandleIteratorPtr ()=default
 

Private Attributes

std::unique_ptr< AttributeMapHandleIterator< HandleT > > m_iter
 

Detailed Description

template<typename HandleT>
class lvr2::AttributeMapHandleIteratorPtr< HandleT >

Simple convinience wrapper for unique_ptr<AttributeMapHandleIterator>

The unique_ptr is needed to return an abstract class. This Ptr class enables the user to easily use this smart pointer as iterator.

Definition at line 46 of file AttributeMap.hpp.

Constructor & Destructor Documentation

◆ AttributeMapHandleIteratorPtr() [1/2]

template<typename HandleT >
lvr2::AttributeMapHandleIteratorPtr< HandleT >::AttributeMapHandleIteratorPtr ( std::unique_ptr< AttributeMapHandleIterator< HandleT >>  iter)
inline

Definition at line 223 of file AttributeMap.hpp.

◆ AttributeMapHandleIteratorPtr() [2/2]

template<typename HandleT >
lvr2::AttributeMapHandleIteratorPtr< HandleT >::AttributeMapHandleIteratorPtr ( const AttributeMapHandleIteratorPtr< HandleT > &  iteratorPtr)
inline

Definition at line 225 of file AttributeMap.hpp.

◆ ~AttributeMapHandleIteratorPtr()

template<typename HandleT >
virtual lvr2::AttributeMapHandleIteratorPtr< HandleT >::~AttributeMapHandleIteratorPtr ( )
virtualdefault

Member Function Documentation

◆ operator!=()

template<typename HandleT >
bool lvr2::AttributeMapHandleIteratorPtr< HandleT >::operator!= ( const AttributeMapHandleIteratorPtr< HandleT > &  other) const

◆ operator*()

template<typename HandleT >
HandleT lvr2::AttributeMapHandleIteratorPtr< HandleT >::operator* ( ) const

◆ operator++()

template<typename HandleT >
AttributeMapHandleIteratorPtr& lvr2::AttributeMapHandleIteratorPtr< HandleT >::operator++ ( )

◆ operator==()

template<typename HandleT >
bool lvr2::AttributeMapHandleIteratorPtr< HandleT >::operator== ( const AttributeMapHandleIteratorPtr< HandleT > &  other) const

Member Data Documentation

◆ m_iter

template<typename HandleT >
std::unique_ptr<AttributeMapHandleIterator<HandleT> > lvr2::AttributeMapHandleIteratorPtr< HandleT >::m_iter
private

Definition at line 236 of file AttributeMap.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