DIWNE::NodeRangeImpl
#include "DIWNE/Core/diwne_iterators.h"
Inherits from DIWNE::NodeRangeBase< Range, Iterator, NodeType, IsConst >
Inherited by DIWNE::ConstNodeRange< NodeType >, DIWNE::RecursiveNodeRange< NodeType >
Public Functions
Name | |
---|---|
NodeRangeImpl(typename Super::Container nodes) | |
Iterator | begin() |
Iterator | end() |
Additional inherited members
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 | |
---|---|
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. |
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 Range ,
typename Iterator ,
typename NodeType ,
bool IsConst>
class DIWNE::NodeRangeImpl;
template <typename Range ,
typename Iterator ,
typename NodeType ,
bool IsConst>
class DIWNE::NodeRangeImpl;
Public Functions Documentation
function NodeRangeImpl
cpp
inline NodeRangeImpl(
typename Super::Container nodes
)
inline NodeRangeImpl(
typename Super::Container nodes
)
function begin
cpp
inline Iterator begin()
inline Iterator begin()
function end
cpp
inline Iterator end()
inline Iterator end()
Updated on 2025-05-31 at 12:55:31 +0000