carl
24.04
Computer ARithmetic Library
|
Iterator class for iterations from a given element to the root. More...
#include <carlTree.h>
Public Types | |
using | Base = BaseIterator< T, PathIterator< T >, false > |
Public Member Functions | |
PathIterator (const tree< T > *t, std::size_t root) | |
PathIterator & | next () |
template<typename It > | |
PathIterator (const BaseIterator< T, It, false > &ii) | |
PathIterator (const PathIterator &ii) | |
PathIterator (PathIterator &&ii) | |
PathIterator & | operator= (const PathIterator &it) |
PathIterator & | operator= (PathIterator &&it) noexcept |
virtual | ~PathIterator () 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 | current |
Protected Attributes | |
const tree< T > * | mTree |
Iterator class for iterations from a given element to the root.
Definition at line 519 of file carlTree.h.
using carl::tree_detail::PathIterator< T >::Base = BaseIterator<T, PathIterator<T>,false> |
Definition at line 523 of file carlTree.h.
|
inline |
Definition at line 524 of file carlTree.h.
|
inline |
Definition at line 533 of file carlTree.h.
|
inline |
Definition at line 534 of file carlTree.h.
|
inline |
Definition at line 535 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 |
|
inlinenoexcept |
|
inherited |
Definition at line 89 of file carlTree.h.
|
protectedinherited |
Definition at line 76 of file carlTree.h.