GTSAM  4.0.2
C++ library for smoothing and mapping (SAM)
Public Types | Public Member Functions | List of all members
gtsam::BTree< KEY, VALUE >::const_iterator Class Reference

Const iterator Not trivial: iterator keeps a stack to indicate current path from root_. More...

#include <BTree.h>

Public Types

typedef ptrdiff_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 
typedef std::pair< KEY, VALUE > value_type
 
typedef const value_type * pointer
 
typedef const value_type & reference
 

Public Member Functions

 const_iterator ()
 
 const_iterator (const sharedNode &root)
 
bool operator== (const Self &__x) const
 
bool operator!= (const Self &__x) const
 
reference operator* () const
 
pointer operator-> () const
 
Selfoperator++ ()
 
Self operator++ (int)
 

Detailed Description

template<class KEY, class VALUE>
class gtsam::BTree< KEY, VALUE >::const_iterator

Const iterator Not trivial: iterator keeps a stack to indicate current path from root_.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

template<class KEY, class VALUE>
gtsam::BTree< KEY, VALUE >::const_iterator::const_iterator ( )
inline

initialize end

◆ const_iterator() [2/2]

template<class KEY, class VALUE>
gtsam::BTree< KEY, VALUE >::const_iterator::const_iterator ( const sharedNode &  root)
inline

initialize from root

Member Function Documentation

◆ operator!=()

template<class KEY, class VALUE>
bool gtsam::BTree< KEY, VALUE >::const_iterator::operator!= ( const Self __x) const
inline

inequality

◆ operator*()

template<class KEY, class VALUE>
reference gtsam::BTree< KEY, VALUE >::const_iterator::operator* ( ) const
inline

dereference

◆ operator++() [1/2]

template<class KEY, class VALUE>
Self& gtsam::BTree< KEY, VALUE >::const_iterator::operator++ ( )
inline

pre-increment

◆ operator++() [2/2]

template<class KEY, class VALUE>
Self gtsam::BTree< KEY, VALUE >::const_iterator::operator++ ( int  )
inline

post-increment

◆ operator->()

template<class KEY, class VALUE>
pointer gtsam::BTree< KEY, VALUE >::const_iterator::operator-> ( ) const
inline

dereference

◆ operator==()

template<class KEY, class VALUE>
bool gtsam::BTree< KEY, VALUE >::const_iterator::operator== ( const Self __x) const
inline

equality


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