template class Core::TreeSetIterator
Overview
Tree set iterator. More…
#include <coretreeset.h> template <class T> class TreeSetIterator { public: // construction TreeSetIterator (const TreeSet <T>& tree); // methods bool done () const; void first (); void last (); const T& next (); const T& previous (); const T& peekNext () const; bool operator == (const TreeSetIterator <T>& other) const; bool operator != (const TreeSetIterator <T>& other) const; };
Detailed Documentation
Tree set iterator.
Methods
bool done () const
Check if iteration is done.
void first ()
Seek to first element.
void last ()
Seek to last element.
const T& next ()
Seek and return next element.
const T& previous ()
Seek and return previous element.
const T& peekNext () const
Peek at next element (but don’t seek).