|
carl
25.04
Computer ARithmetic Library
|
Iterator class for iterations over all elements of a certain depth. More...
#include <carlTree.h>


Public Types | |
| using | Base = BaseIterator< T, DepthIterator< T, reverse >, reverse > |
Public Member Functions | |
| DepthIterator (const tree< T > *t) | |
| DepthIterator (const tree< T > *t, std::size_t root, std::size_t _depth) | |
| DepthIterator & | next () |
| DepthIterator & | previous () |
| template<typename It > | |
| DepthIterator (const BaseIterator< T, It, reverse > &ii) | |
| DepthIterator (const DepthIterator &ii) | |
| DepthIterator (DepthIterator &&ii) | |
| DepthIterator & | operator= (const DepthIterator &it) |
| DepthIterator & | operator= (DepthIterator &&it) |
| virtual | ~DepthIterator () noexcept=default |
| const auto & | nodes () const |
| const auto & | node (std::size_t id) const |
| const auto & | curnode () const |
| std::size_t | depth () const |
| std::size_t | id () const |
| bool | isRoot () const |
| bool | isValid () const |
| T * | operator-> () |
| T const * | operator-> () const |
Data Fields | |
| std::size_t | depth |
| std::size_t | current |
Protected Attributes | |
| const tree< T > * | mTree |
Iterator class for iterations over all elements of a certain depth.
Definition at line 369 of file carlTree.h.
| using carl::tree_detail::DepthIterator< T, reverse >::Base = BaseIterator<T,DepthIterator<T,reverse>,reverse> |
Definition at line 373 of file carlTree.h.
|
inline |
Definition at line 375 of file carlTree.h.
|
inline |
|
inline |
Definition at line 428 of file carlTree.h.
|
inline |
Definition at line 429 of file carlTree.h.
|
inline |
Definition at line 430 of file carlTree.h.
|
virtualdefaultnoexcept |
|
inlineinherited |
Definition at line 86 of file carlTree.h.
|
inlineinherited |
Definition at line 96 of file carlTree.h.
|
inlineinherited |
Definition at line 99 of file carlTree.h.
|
inlineinherited |
Definition at line 103 of file carlTree.h.
|
inlineinherited |
Definition at line 106 of file carlTree.h.
|
inline |
|
inlineinherited |
Definition at line 82 of file carlTree.h.
|
inlineinherited |
Definition at line 79 of file carlTree.h.
|
inlineinherited |
Definition at line 109 of file carlTree.h.
|
inlineinherited |
Definition at line 112 of file carlTree.h.
|
inline |
|
inline |
|
inline |
|
inherited |
Definition at line 89 of file carlTree.h.
| std::size_t carl::tree_detail::DepthIterator< T, reverse >::depth |
Definition at line 374 of file carlTree.h.
|
protectedinherited |
Definition at line 76 of file carlTree.h.