UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::TreeContainterIterator< T, Const, Ts > Class Template Reference

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::random_access_iterator_tag
 
using pointer = std::conditional_t< Const, T const *, T * >
 
using reference = std::conditional_t< Const, T const &, T & >
 
using value_type = T
 

Public Member Functions

 TreeContainterIterator (TreeContainterIterator const &)=default
 
template<bool Const2, class = std::enable_if_t<Const && !Const2>>
 TreeContainterIterator (TreeContainterIterator< T, Const2, Ts... > const &other)
 
reference operator* () const
 
TreeContainterIterator operator+ (difference_type n)
 
TreeContainterIteratoroperator++ ()
 
TreeContainterIterator operator++ (int)
 
TreeContainterIteratoroperator+= (difference_type n)
 
TreeContainterIterator operator- (difference_type n)
 
TreeContainterIteratoroperator-- ()
 
TreeContainterIterator operator-- (int)
 
TreeContainterIteratoroperator-= (difference_type n)
 
pointer operator-> () const
 
reference operator[] (difference_type pos) const
 

Protected Member Functions

 TreeContainterIterator (TreeContainer< Ts... > &container, difference_type idx)
 
 TreeContainterIterator (TreeContainer< Ts... > *container, difference_type idx)
 

Friends

template<bool Const1, bool Const2>
bool operator!= (TreeContainterIterator< T, Const1, Ts... > const &lhs, TreeContainterIterator< T, Const2, Ts... > const &rhs)
 
template<bool Const1, bool Const2>
difference_type operator- (TreeContainterIterator< T, Const1, Ts... > const &lhs, TreeContainterIterator< T, Const2, Ts... > const &rhs)
 
template<bool Const1, bool Const2>
bool operator< (TreeContainterIterator< T, Const1, Ts... > const &lhs, TreeContainterIterator< T, Const2, Ts... > const &rhs)
 
template<bool Const1, bool Const2>
bool operator<= (TreeContainterIterator< T, Const1, Ts... > const &lhs, TreeContainterIterator< T, Const2, Ts... > const &rhs)
 
template<bool Const1, bool Const2>
bool operator== (TreeContainterIterator< T, Const1, Ts... > const &lhs, TreeContainterIterator< T, Const2, Ts... > const &rhs)
 
template<bool Const1, bool Const2>
bool operator> (TreeContainterIterator< T, Const1, Ts... > const &lhs, TreeContainterIterator< T, Const2, Ts... > const &rhs)
 
template<bool Const1, bool Const2>
bool operator>= (TreeContainterIterator< T, Const1, Ts... > const &lhs, TreeContainterIterator< T, Const2, Ts... > const &rhs)
 
class TreeContainer< Ts... >
 

Detailed Description

template<class T, bool Const, class... Ts>
class ufo::TreeContainterIterator< T, Const, Ts >

Definition at line 56 of file container_iterator.hpp.

Member Typedef Documentation

◆ difference_type

template<class T , bool Const, class... Ts>
using ufo::TreeContainterIterator< T, Const, Ts >::difference_type = std::ptrdiff_t

Definition at line 73 of file container_iterator.hpp.

◆ iterator_category

template<class T , bool Const, class... Ts>
using ufo::TreeContainterIterator< T, Const, Ts >::iterator_category = std::random_access_iterator_tag

Definition at line 72 of file container_iterator.hpp.

◆ pointer

template<class T , bool Const, class... Ts>
using ufo::TreeContainterIterator< T, Const, Ts >::pointer = std::conditional_t<Const, T const*, T*>

Definition at line 75 of file container_iterator.hpp.

◆ reference

template<class T , bool Const, class... Ts>
using ufo::TreeContainterIterator< T, Const, Ts >::reference = std::conditional_t<Const, T const&, T&>

Definition at line 76 of file container_iterator.hpp.

◆ value_type

template<class T , bool Const, class... Ts>
using ufo::TreeContainterIterator< T, Const, Ts >::value_type = T

Definition at line 74 of file container_iterator.hpp.

Constructor & Destructor Documentation

◆ TreeContainterIterator() [1/3]

template<class T , bool Const, class... Ts>
template<bool Const2, class = std::enable_if_t<Const && !Const2>>
ufo::TreeContainterIterator< T, Const, Ts >::TreeContainterIterator ( TreeContainterIterator< T, Const2, Ts... > const &  other)
inline

Definition at line 83 of file container_iterator.hpp.

◆ TreeContainterIterator() [2/3]

template<class T , bool Const, class... Ts>
ufo::TreeContainterIterator< T, Const, Ts >::TreeContainterIterator ( TreeContainer< Ts... > *  container,
difference_type  idx 
)
inlineprotected

Definition at line 199 of file container_iterator.hpp.

◆ TreeContainterIterator() [3/3]

template<class T , bool Const, class... Ts>
ufo::TreeContainterIterator< T, Const, Ts >::TreeContainterIterator ( TreeContainer< Ts... > &  container,
difference_type  idx 
)
inlineprotected

Definition at line 204 of file container_iterator.hpp.

Member Function Documentation

◆ operator*()

template<class T , bool Const, class... Ts>
reference ufo::TreeContainterIterator< T, Const, Ts >::operator* ( ) const
inline

Definition at line 145 of file container_iterator.hpp.

◆ operator+()

template<class T , bool Const, class... Ts>
TreeContainterIterator ufo::TreeContainterIterator< T, Const, Ts >::operator+ ( difference_type  n)
inline

Definition at line 126 of file container_iterator.hpp.

◆ operator++() [1/2]

template<class T , bool Const, class... Ts>
TreeContainterIterator & ufo::TreeContainterIterator< T, Const, Ts >::operator++ ( )
inline

Definition at line 88 of file container_iterator.hpp.

◆ operator++() [2/2]

template<class T , bool Const, class... Ts>
TreeContainterIterator ufo::TreeContainterIterator< T, Const, Ts >::operator++ ( int  )
inline

Definition at line 100 of file container_iterator.hpp.

◆ operator+=()

template<class T , bool Const, class... Ts>
TreeContainterIterator & ufo::TreeContainterIterator< T, Const, Ts >::operator+= ( difference_type  n)
inline

Definition at line 114 of file container_iterator.hpp.

◆ operator-()

template<class T , bool Const, class... Ts>
TreeContainterIterator ufo::TreeContainterIterator< T, Const, Ts >::operator- ( difference_type  n)
inline

Definition at line 133 of file container_iterator.hpp.

◆ operator--() [1/2]

template<class T , bool Const, class... Ts>
TreeContainterIterator & ufo::TreeContainterIterator< T, Const, Ts >::operator-- ( )
inline

Definition at line 94 of file container_iterator.hpp.

◆ operator--() [2/2]

template<class T , bool Const, class... Ts>
TreeContainterIterator ufo::TreeContainterIterator< T, Const, Ts >::operator-- ( int  )
inline

Definition at line 107 of file container_iterator.hpp.

◆ operator-=()

template<class T , bool Const, class... Ts>
TreeContainterIterator & ufo::TreeContainterIterator< T, Const, Ts >::operator-= ( difference_type  n)
inline

Definition at line 120 of file container_iterator.hpp.

◆ operator->()

template<class T , bool Const, class... Ts>
pointer ufo::TreeContainterIterator< T, Const, Ts >::operator-> ( ) const
inline

Definition at line 147 of file container_iterator.hpp.

◆ operator[]()

template<class T , bool Const, class... Ts>
reference ufo::TreeContainterIterator< T, Const, Ts >::operator[] ( difference_type  pos) const
inline

Definition at line 140 of file container_iterator.hpp.

Friends And Related Symbol Documentation

◆ TreeContainterIterator< T, !Const, Ts... >

template<class T , bool Const, class... Ts>
friend class TreeContainterIterator< T, !Const, Ts... >
friend

Definition at line 1 of file container_iterator.hpp.

◆ operator!=

template<class T , bool Const, class... Ts>
template<bool Const1, bool Const2>
bool operator!= ( TreeContainterIterator< T, Const1, Ts... > const &  lhs,
TreeContainterIterator< T, Const2, Ts... > const &  rhs 
)
friend

Definition at line 164 of file container_iterator.hpp.

◆ operator-

template<class T , bool Const, class... Ts>
template<bool Const1, bool Const2>
difference_type operator- ( TreeContainterIterator< T, Const1, Ts... > const &  lhs,
TreeContainterIterator< T, Const2, Ts... > const &  rhs 
)
friend

Definition at line 150 of file container_iterator.hpp.

◆ operator<

template<class T , bool Const, class... Ts>
template<bool Const1, bool Const2>
bool operator< ( TreeContainterIterator< T, Const1, Ts... > const &  lhs,
TreeContainterIterator< T, Const2, Ts... > const &  rhs 
)
friend

Definition at line 171 of file container_iterator.hpp.

◆ operator<=

template<class T , bool Const, class... Ts>
template<bool Const1, bool Const2>
bool operator<= ( TreeContainterIterator< T, Const1, Ts... > const &  lhs,
TreeContainterIterator< T, Const2, Ts... > const &  rhs 
)
friend

Definition at line 178 of file container_iterator.hpp.

◆ operator==

template<class T , bool Const, class... Ts>
template<bool Const1, bool Const2>
bool operator== ( TreeContainterIterator< T, Const1, Ts... > const &  lhs,
TreeContainterIterator< T, Const2, Ts... > const &  rhs 
)
friend

Definition at line 157 of file container_iterator.hpp.

◆ operator>

template<class T , bool Const, class... Ts>
template<bool Const1, bool Const2>
bool operator> ( TreeContainterIterator< T, Const1, Ts... > const &  lhs,
TreeContainterIterator< T, Const2, Ts... > const &  rhs 
)
friend

Definition at line 185 of file container_iterator.hpp.

◆ operator>=

template<class T , bool Const, class... Ts>
template<bool Const1, bool Const2>
bool operator>= ( TreeContainterIterator< T, Const1, Ts... > const &  lhs,
TreeContainterIterator< T, Const2, Ts... > const &  rhs 
)
friend

Definition at line 192 of file container_iterator.hpp.

◆ TreeContainer< Ts... >

template<class T , bool Const, class... Ts>
friend class TreeContainer< Ts... >
friend

Definition at line 1 of file container_iterator.hpp.


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