momo  3.9
momo::internal::TreeSetConstIterator< TNode, TSettings > Class Template Reference

#include <TreeSet.h>

Inheritance diagram for momo::internal::TreeSetConstIterator< TNode, TSettings >:
momo::internal::VersionKeeper< TSettings >

Public Types

typedef const ItemReference
 
typedef const ItemPointer
 
typedef TreeSetConstIterator ConstIterator
 

Public Member Functions

 TreeSetConstIterator () noexcept
 
TreeSetConstIteratoroperator++ ()
 
TreeSetConstIteratoroperator-- ()
 
Pointer operator-> () const
 

Protected Types

typedef TNode Node
 
typedef TSettings Settings
 
typedef Node::Item Item
 

Protected Member Functions

 TreeSetConstIterator (Node &node, size_t itemIndex, const size_t *version, bool move) noexcept
 
NodeptGetNode () const noexcept
 
size_t ptGetItemIndex () const noexcept
 
void ptCheck (const size_t *version, bool allowEmpty) const
 

Friends

bool operator== (TreeSetConstIterator iter1, TreeSetConstIterator iter2) noexcept
 

Member Typedef Documentation

◆ ConstIterator

template<typename TNode , typename TSettings >
typedef TreeSetConstIterator momo::internal::TreeSetConstIterator< TNode, TSettings >::ConstIterator

◆ Item

template<typename TNode , typename TSettings >
typedef Node::Item momo::internal::TreeSetConstIterator< TNode, TSettings >::Item
protected

◆ Node

template<typename TNode , typename TSettings >
typedef TNode momo::internal::TreeSetConstIterator< TNode, TSettings >::Node
protected

◆ Pointer

template<typename TNode , typename TSettings >
typedef const Item* momo::internal::TreeSetConstIterator< TNode, TSettings >::Pointer

◆ Reference

template<typename TNode , typename TSettings >
typedef const Item& momo::internal::TreeSetConstIterator< TNode, TSettings >::Reference

◆ Settings

template<typename TNode , typename TSettings >
typedef TSettings momo::internal::TreeSetConstIterator< TNode, TSettings >::Settings
protected

Constructor & Destructor Documentation

◆ TreeSetConstIterator() [1/2]

template<typename TNode , typename TSettings >
momo::internal::TreeSetConstIterator< TNode, TSettings >::TreeSetConstIterator ( )
inlineexplicitnoexcept

◆ TreeSetConstIterator() [2/2]

template<typename TNode , typename TSettings >
momo::internal::TreeSetConstIterator< TNode, TSettings >::TreeSetConstIterator ( Node node,
size_t  itemIndex,
const size_t *  version,
bool  move 
)
inlineexplicitprotectednoexcept

Member Function Documentation

◆ operator++()

template<typename TNode , typename TSettings >
TreeSetConstIterator& momo::internal::TreeSetConstIterator< TNode, TSettings >::operator++ ( )
inline

◆ operator--()

template<typename TNode , typename TSettings >
TreeSetConstIterator& momo::internal::TreeSetConstIterator< TNode, TSettings >::operator-- ( )
inline

◆ operator->()

template<typename TNode , typename TSettings >
Pointer momo::internal::TreeSetConstIterator< TNode, TSettings >::operator-> ( ) const
inline

◆ ptCheck()

template<typename TNode , typename TSettings >
void momo::internal::TreeSetConstIterator< TNode, TSettings >::ptCheck ( const size_t *  version,
bool  allowEmpty 
) const
inlineprotected

◆ ptGetItemIndex()

template<typename TNode , typename TSettings >
size_t momo::internal::TreeSetConstIterator< TNode, TSettings >::ptGetItemIndex ( ) const
inlineprotectednoexcept

◆ ptGetNode()

template<typename TNode , typename TSettings >
Node* momo::internal::TreeSetConstIterator< TNode, TSettings >::ptGetNode ( ) const
inlineprotectednoexcept

Friends And Related Function Documentation

◆ operator==

template<typename TNode , typename TSettings >
bool operator== ( TreeSetConstIterator< TNode, TSettings >  iter1,
TreeSetConstIterator< TNode, TSettings >  iter2 
)
friend

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