|
Krita Source Code Documentation
|
#include <KisForest.h>
Inheritance diagram for KisForestDetail::HierarchyIterator< T, is_const >:Public Types | |
| using | NodeType = typename BaseClass::NodeType |
| using | RootNodeType = std::add_const_if_t<is_const, RootNode<T>> |
Public Types inherited from KisForestDetail::BaseIterator< HierarchyIterator< T, is_const >, T, boost::forward_traversal_tag, is_const > | |
| using | NodeType |
| using | value_type |
Public Member Functions | |
| HierarchyIterator (NodeType *node) | |
| operator HierarchyIterator< T, true > () const | |
Public Member Functions inherited from KisForestDetail::BaseIterator< HierarchyIterator< T, is_const >, T, boost::forward_traversal_tag, is_const > | |
| BaseIterator (NodeType *node) | |
| NodeType * | node () const |
Private Types | |
| using | BaseClass |
Private Member Functions | |
| void | increment () |
Friends | |
| class | boost::iterator_core_access |
Additional Inherited Members | |
Protected Attributes inherited from KisForestDetail::BaseIterator< HierarchyIterator< T, is_const >, T, boost::forward_traversal_tag, is_const > | |
| NodeType * | m_node |
Hierarchy iterator is used to traverse from the current node to the root of the current subtree of the forest. It models ForwardIterator concept.
WARNING: converting end() iterator to other iterator types currently leads to undefined behavior.
Definition at line 381 of file KisForest.h.
|
private |
Definition at line 387 of file KisForest.h.
| using KisForestDetail::HierarchyIterator< T, is_const >::NodeType = typename BaseClass::NodeType |
Definition at line 393 of file KisForest.h.
| using KisForestDetail::HierarchyIterator< T, is_const >::RootNodeType = std::add_const_if_t<is_const, RootNode<T>> |
Definition at line 392 of file KisForest.h.
|
inline |
Definition at line 395 of file KisForest.h.
|
inlineprivate |
Definition at line 407 of file KisForest.h.
References KisForestDetail::BaseIterator< HierarchyIterator< T, is_const >, T, boost::forward_traversal_tag, is_const >::m_node, and KisForestDetail::parent().
|
inline |
Definition at line 400 of file KisForest.h.
|
friend |
Definition at line 405 of file KisForest.h.