Public Member Functions | List of all members
ObjectTrie< T >::BreadthIterator Class Reference

A breadth first iterator for the trie. More...

#include <ObjectTrie.hpp>

Collaboration diagram for ObjectTrie< T >::BreadthIterator:
[legend]

Public Member Functions

 BreadthIterator (const BreadthIterator &copy)
 Make a copy of the supplied iterator. More...
 
bool operator!= (const BreadthIterator &rhs) const
 Compare the current iterator and the supplied iterator for inequality. More...
 
ObjectTrieNode< T > & operator* ()
 Dereference the node pointed to by the iterator. More...
 
const ObjectTrieNode< T > & operator* () const
 Dereference the node pointed to by the iterator. More...
 
BreadthIteratoroperator++ ()
 Increment the iterator. More...
 
ObjectTrieNode< T > * operator-> ()
 Dereference the node pointed to by the iterator. More...
 
const ObjectTrieNode< T > * operator-> () const
 Dereference the node pointed to by the iterator. More...
 
BreadthIteratoroperator= (const BreadthIterator &copy)
 Make a copy of the supplied iterator. More...
 
bool operator== (const BreadthIterator &rhs) const
 Compare the current iterator and the supplied iterator for equality. More...
 

Detailed Description

template<typename T>
class Balau::Container::ObjectTrie< T >::BreadthIterator

A breadth first iterator for the trie.

Constructor & Destructor Documentation

◆ BreadthIterator()

BreadthIterator ( const BreadthIterator copy)
inline

Make a copy of the supplied iterator.

Member Function Documentation

◆ operator!=()

bool operator!= ( const BreadthIterator rhs) const
inline

Compare the current iterator and the supplied iterator for inequality.

◆ operator*() [1/2]

ObjectTrieNode<T>& operator* ( )
inline

Dereference the node pointed to by the iterator.

◆ operator*() [2/2]

const ObjectTrieNode<T>& operator* ( ) const
inline

Dereference the node pointed to by the iterator.

◆ operator++()

BreadthIterator& operator++ ( )
inline

Increment the iterator.

◆ operator->() [1/2]

ObjectTrieNode<T>* operator-> ( )
inline

Dereference the node pointed to by the iterator.

◆ operator->() [2/2]

const ObjectTrieNode<T>* operator-> ( ) const
inline

Dereference the node pointed to by the iterator.

◆ operator=()

BreadthIterator& operator= ( const BreadthIterator copy)
inline

Make a copy of the supplied iterator.

◆ operator==()

bool operator== ( const BreadthIterator rhs) const
inline

Compare the current iterator and the supplied iterator for equality.


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