Skip to content

DIWNE::NodeRange

More...

#include "DIWNE/Core/diwne_iterators.h"

Inherits from DIWNE::NodeRangeImpl< NodeRange< NodeType >, NodeIterator< NodeType >, NodeType, false >, DIWNE::NodeRangeBase< Range, Iterator, NodeType, IsConst >

Public Functions

Name
NodeRange(const NodeList * nodes)

Additional inherited members

Public Functions inherited from DIWNE::NodeRangeImpl< NodeRange< NodeType >, NodeIterator< NodeType >, NodeType, 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 >
class DIWNE::NodeRange;
template <typename NodeType >
class DIWNE::NodeRange;

Public Functions Documentation

function NodeRange

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

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