Skip to content

DIWNE::RecursiveNodeRange

More...

#include "DIWNE/Core/diwne_iterators.h"

Inherits from DIWNE::NodeRangeImpl< RecursiveNodeRange< Node >, RecursiveNodeIterator< Node >, Node, false >, DIWNE::NodeRangeBase< Range, Iterator, NodeType, IsConst >

Public Functions

Name
RecursiveNodeRange(const NodeList * nodes)

Additional inherited members

Public Functions inherited from DIWNE::NodeRangeImpl< RecursiveNodeRange< Node >, RecursiveNodeIterator< Node >, Node, false >

Name
NodeRangeImpl(typename Super::Container nodes)
Iteratorbegin()
Iteratorend()

Public Types inherited from DIWNE::NodeRangeBase< Range, Iterator, NodeType, IsConst >

Name
using typename Iterator::ContainerContainer

Public Functions inherited from DIWNE::NodeRangeBase< Range, Iterator, NodeType, IsConst >

Name
Iteratorbegin()<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.
Iteratorend()<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

cpp
template <typename NodeType  =Node>
class DIWNE::RecursiveNodeRange;
template <typename NodeType  =Node>
class DIWNE::RecursiveNodeRange;

Public Functions Documentation

function RecursiveNodeRange

cpp
inline RecursiveNodeRange(
    const NodeList * nodes
)
inline RecursiveNodeRange(
    const NodeList * nodes
)

Updated on 2025-05-31 at 12:55:31 +0000