DIWNE::FilteredRecursiveNodeRange
#include "DIWNE/Core/diwne_iterators.h"
Inherits from DIWNE::FilteredRecursiveNodeRangeImpl< FilteredRecursiveNodeRange< Node >, FilteredRecursiveNodeIterator< Node >, Node, false >, DIWNE::FilteredNodeRangeImpl< Range, Iterator, NodeType, IsConst >, DIWNE::NodeRangeBase< Range, Iterator, NodeType, IsConst >
Public Functions
| Name | |
|---|---|
| FilteredRecursiveNodeRange(typename Super::Predicate predicate, const NodeList * nodes) | |
| FilteredRecursiveNodeRange(typename Super::Predicate predicate, typename Super::Predicate divePredicate, const NodeList * nodes) |
Additional inherited members
Public Functions inherited from DIWNE::FilteredRecursiveNodeRangeImpl< FilteredRecursiveNodeRange< Node >, FilteredRecursiveNodeIterator< Node >, Node, false >
| Name | |
|---|---|
| FilteredRecursiveNodeRangeImpl(typename Super::Predicate predicate, typename Super::Container nodes) | |
| FilteredRecursiveNodeRangeImpl(typename Super::Predicate predicate, typename Super::Predicate divePredicate, typename Super::Container nodes) | |
| Iterator | begin() |
| Iterator | end() |
Protected Attributes inherited from DIWNE::FilteredRecursiveNodeRangeImpl< FilteredRecursiveNodeRange< Node >, FilteredRecursiveNodeIterator< Node >, Node, false >
| Name | |
|---|---|
| Super::Predicate | _divePredicate |
Protected Types inherited from DIWNE::FilteredNodeRangeImpl< Range, Iterator, NodeType, IsConst >
| Name | |
|---|---|
| using bool(*)(const Node *) | Predicate |
Public Functions inherited from DIWNE::FilteredNodeRangeImpl< Range, Iterator, NodeType, IsConst >
| Name | |
|---|---|
| FilteredNodeRangeImpl(Predicate predicate, typename Super::Container nodes) | |
| Iterator | begin() |
| Iterator | end() |
Protected Attributes inherited from DIWNE::FilteredNodeRangeImpl< Range, Iterator, NodeType, IsConst >
| Name | |
|---|---|
| Predicate | _predicate |
Public Types inherited from DIWNE::NodeRangeBase< Range, Iterator, NodeType, IsConst >
| Name | |
|---|---|
| using typename Iterator::Container | Container |
Public Functions inherited from DIWNE::NodeRangeBase< Range, Iterator, NodeType, IsConst >
| Name | |
|---|---|
| Iterator | begin()<br>Get a node iterator pointing to the beginning of this node range. |
| std::vector< std::shared_ptr< NodeType > > | collect()<br>Collect all elements in the range and return them as a std::vector of owning shared pointers. |
| std::vector< NodeType * > | collectRaw()<br>Collect all elements in the range and return them as a std::vector of non-owning raw pointers. |
| Iterator | end()<br>Get a node iterator pointing to an element following the last element of this node range. |
Protected Functions inherited from DIWNE::NodeRangeBase< Range, Iterator, NodeType, IsConst >
| Name | |
|---|---|
| NodeRangeBase(Container nodes) | |
| Range * | self()<br>CRTP self pointer (pointer to the derived type) |
Protected Attributes inherited from DIWNE::NodeRangeBase< Range, Iterator, NodeType, IsConst >
| Name | |
|---|---|
| Container | _nodes |
Detailed Description
template <typename NodeType =Node>
class DIWNE::FilteredRecursiveNodeRange;template <typename NodeType =Node>
class DIWNE::FilteredRecursiveNodeRange;Public Functions Documentation
function FilteredRecursiveNodeRange
inline FilteredRecursiveNodeRange(
typename Super::Predicate predicate,
const NodeList * nodes
)inline FilteredRecursiveNodeRange(
typename Super::Predicate predicate,
const NodeList * nodes
)function FilteredRecursiveNodeRange
inline FilteredRecursiveNodeRange(
typename Super::Predicate predicate,
typename Super::Predicate divePredicate,
const NodeList * nodes
)inline FilteredRecursiveNodeRange(
typename Super::Predicate predicate,
typename Super::Predicate divePredicate,
const NodeList * nodes
)Updated on 2026-09-02 at 12:24:54 +0000