The DualDirIterator
Class Template Reference
helper class representing an iterator that can iterate forwards or backwards More...
Declaration
Public Constructors Index
template <class C, class I> | |
DualDirIterator (C &container, bool fwd) | |
Public Operators Index
template <class C, class I> | |
void | operator++ () |
template <class C, class I> | |
I & | operator* () |
Public Member Functions Index
template <class C, class I> | |
bool | atEnd () |
Private Member Attributes Index
template <class C, class I> | |
C & | m_container |
template <class C, class I> | |
bool | m_forward |
template <class C, class I> | |
C::iterator | m_it |
template <class C, class I> | |
C::reverse_iterator | m_rit |
Description
helper class representing an iterator that can iterate forwards or backwards
Definition at line 559 of file diagram.cpp.
Public Constructors
DualDirIterator()
| inline |
Definition at line 562 of file diagram.cpp.
References DualDirIterator< C, I >::m_container, DualDirIterator< C, I >::m_forward, DualDirIterator< C, I >::m_it and DualDirIterator< C, I >::m_rit.
Public Operators
operator*()
| inline |
Definition at line 572 of file diagram.cpp.
References DualDirIterator< C, I >::m_forward, DualDirIterator< C, I >::m_it and DualDirIterator< C, I >::m_rit.
operator++()
| inline |
Definition at line 568 of file diagram.cpp.
References DualDirIterator< C, I >::m_forward, DualDirIterator< C, I >::m_it and DualDirIterator< C, I >::m_rit.
Public Member Functions
atEnd()
| inline |
Definition at line 577 of file diagram.cpp.
References DualDirIterator< C, I >::m_container, DualDirIterator< C, I >::m_forward, DualDirIterator< C, I >::m_it and DualDirIterator< C, I >::m_rit.
Referenced by TreeDiagram::drawBoxes.
Private Member Attributes
m_container
|
Definition at line 586 of file diagram.cpp.
Referenced by DualDirIterator< C, I >::atEnd and DualDirIterator< C, I >::DualDirIterator.
m_forward
|
Definition at line 587 of file diagram.cpp.
Referenced by DualDirIterator< C, I >::atEnd, DualDirIterator< C, I >::DualDirIterator, DualDirIterator< C, I >::operator* and DualDirIterator< C, I >::operator++.
m_it
|
Definition at line 588 of file diagram.cpp.
Referenced by DualDirIterator< C, I >::atEnd, DualDirIterator< C, I >::DualDirIterator, DualDirIterator< C, I >::operator* and DualDirIterator< C, I >::operator++.
m_rit
|
Definition at line 589 of file diagram.cpp.
Referenced by DualDirIterator< C, I >::atEnd, DualDirIterator< C, I >::DualDirIterator, DualDirIterator< C, I >::operator* and DualDirIterator< C, I >::operator++.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.