UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::TreeQueryIterator< Tree, Predicate > Class Template Reference

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::forward_iterator_tag
 
using pointer = value_type const *
 
using reference = value_type const &
 
using value_type = Node
 

Public Member Functions

 TreeQueryIterator (Tree const *tree, Node node, Predicate const &pred, bool only_exists, bool early_stopping)
 
 TreeQueryIterator (TreeQueryIterator const &)=default
 
template<class Predicate2 >
 TreeQueryIterator (TreeQueryIterator< Tree, Predicate2 > const &other)
 
template<class Predicate2 >
bool operator!= (TreeQueryIterator< Tree, Predicate2 > const &other)
 
reference operator* () const
 
TreeQueryIteratoroperator++ ()
 
TreeQueryIterator operator++ (int)
 
pointer operator-> () const
 
template<class Predicate2 >
bool operator== (TreeQueryIterator< Tree, Predicate2 > const &other)
 

Detailed Description

template<class Tree, class Predicate = pred::Predicate<Tree>>
class ufo::TreeQueryIterator< Tree, Predicate >

Definition at line 57 of file query_iterator.hpp.

Member Typedef Documentation

◆ difference_type

template<class Tree , class Predicate = pred::Predicate<Tree>>
using ufo::TreeQueryIterator< Tree, Predicate >::difference_type = std::ptrdiff_t

Definition at line 82 of file query_iterator.hpp.

◆ iterator_category

template<class Tree , class Predicate = pred::Predicate<Tree>>
using ufo::TreeQueryIterator< Tree, Predicate >::iterator_category = std::forward_iterator_tag

Definition at line 81 of file query_iterator.hpp.

◆ pointer

template<class Tree , class Predicate = pred::Predicate<Tree>>
using ufo::TreeQueryIterator< Tree, Predicate >::pointer = value_type const*

Definition at line 85 of file query_iterator.hpp.

◆ reference

template<class Tree , class Predicate = pred::Predicate<Tree>>
using ufo::TreeQueryIterator< Tree, Predicate >::reference = value_type const&

Definition at line 84 of file query_iterator.hpp.

◆ value_type

template<class Tree , class Predicate = pred::Predicate<Tree>>
using ufo::TreeQueryIterator< Tree, Predicate >::value_type = Node

Definition at line 83 of file query_iterator.hpp.

Constructor & Destructor Documentation

◆ TreeQueryIterator() [1/2]

template<class Tree , class Predicate = pred::Predicate<Tree>>
ufo::TreeQueryIterator< Tree, Predicate >::TreeQueryIterator ( Tree const *  tree,
Node  node,
Predicate const &  pred,
bool  only_exists,
bool  early_stopping 
)
inline

Definition at line 89 of file query_iterator.hpp.

◆ TreeQueryIterator() [2/2]

template<class Tree , class Predicate = pred::Predicate<Tree>>
template<class Predicate2 >
ufo::TreeQueryIterator< Tree, Predicate >::TreeQueryIterator ( TreeQueryIterator< Tree, Predicate2 > const &  other)
inline

Definition at line 116 of file query_iterator.hpp.

Member Function Documentation

◆ operator!=()

template<class Tree , class Predicate = pred::Predicate<Tree>>
template<class Predicate2 >
bool ufo::TreeQueryIterator< Tree, Predicate >::operator!= ( TreeQueryIterator< Tree, Predicate2 > const &  other)
inline

Definition at line 149 of file query_iterator.hpp.

◆ operator*()

template<class Tree , class Predicate = pred::Predicate<Tree>>
reference ufo::TreeQueryIterator< Tree, Predicate >::operator* ( ) const
inline

Definition at line 138 of file query_iterator.hpp.

◆ operator++() [1/2]

template<class Tree , class Predicate = pred::Predicate<Tree>>
TreeQueryIterator & ufo::TreeQueryIterator< Tree, Predicate >::operator++ ( )
inline

Definition at line 125 of file query_iterator.hpp.

◆ operator++() [2/2]

template<class Tree , class Predicate = pred::Predicate<Tree>>
TreeQueryIterator ufo::TreeQueryIterator< Tree, Predicate >::operator++ ( int  )
inline

Definition at line 131 of file query_iterator.hpp.

◆ operator->()

template<class Tree , class Predicate = pred::Predicate<Tree>>
pointer ufo::TreeQueryIterator< Tree, Predicate >::operator-> ( ) const
inline

Definition at line 140 of file query_iterator.hpp.

◆ operator==()

template<class Tree , class Predicate = pred::Predicate<Tree>>
template<class Predicate2 >
bool ufo::TreeQueryIterator< Tree, Predicate >::operator== ( TreeQueryIterator< Tree, Predicate2 > const &  other)
inline

Definition at line 143 of file query_iterator.hpp.

Friends And Related Symbol Documentation

◆ TreeQueryIterator

template<class Tree , class Predicate = pred::Predicate<Tree>>
template<class , class >
friend class TreeQueryIterator
friend

Definition at line 65 of file query_iterator.hpp.


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