ALib C++ Framework
by
Library Version: 2605 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::containers::StringTreeIterator< TStringTree >::RecursionData Struct Reference

Description:

template<typename TStringTree>
struct alib::containers::StringTreeIterator< TStringTree >::RecursionData

Protected, internal struct used to store the data of recursive iterations.

Definition at line 139 of file stringtreeiterator.hpp.

#include <stringtreeiterator.hpp>

Collaboration diagram for alib::containers::StringTreeIterator< TStringTree >::RecursionData:
[legend]

Inner Type Index:

union  ActChildIdentifier

Public Field Index:

ActChildIdentifier actChild
 The actual child handle, respectively index.
integer pathStringLen
 The path string length of the actual recursion depth.
std::vector< cursorHandlesortedChildren
 A pointer to a dynamically allocated vector of children used with sorting.
Sortersorter
cursorHandle unsortedParent

Public Method Index:

 RecursionData () noexcept=default
 Trivial default constructor.
 RecursionData (const RecursionData &)=default
 Trivial default copy constructor.
 RecursionData (RecursionData &&) noexcept=default
 Trivial default move constructor.
 ~RecursionData () noexcept=default
 Trivial default destructor.
RecursionDataoperator= (const RecursionData &)=default
RecursionDataoperator= (RecursionData &&) noexcept=default

Field Details:

◆ actChild

template<typename TStringTree>
ActChildIdentifier alib::containers::StringTreeIterator< TStringTree >::RecursionData::actChild

The actual child handle, respectively index.

Definition at line 155 of file stringtreeiterator.hpp.

◆ pathStringLen

template<typename TStringTree>
integer alib::containers::StringTreeIterator< TStringTree >::RecursionData::pathStringLen

The path string length of the actual recursion depth.

Definition at line 170 of file stringtreeiterator.hpp.

◆ sortedChildren

template<typename TStringTree>
std::vector<cursorHandle> alib::containers::StringTreeIterator< TStringTree >::RecursionData::sortedChildren

A pointer to a dynamically allocated vector of children used with sorting.

Definition at line 163 of file stringtreeiterator.hpp.

◆ sorter

template<typename TStringTree>
Sorter* alib::containers::StringTreeIterator< TStringTree >::RecursionData::sorter

The (optional) sorter used with the actual node. Unless changed by the caller, this is copied with every recursion step.

Definition at line 167 of file stringtreeiterator.hpp.

◆ unsortedParent

template<typename TStringTree>
cursorHandle alib::containers::StringTreeIterator< TStringTree >::RecursionData::unsortedParent

The child hook of the parent node, used with unsorted iteration. Note that this is declared const, in case constexpr field IsConst equals true.

Definition at line 160 of file stringtreeiterator.hpp.

Method Details:

◆ operator=() [1/2]

template<typename TStringTree>
RecursionData & alib::containers::StringTreeIterator< TStringTree >::RecursionData::operator= ( const RecursionData & )
default

Trivial default copy assign operator.

Returns
A reference to this.
Here is the call graph for this function:

◆ operator=() [2/2]

template<typename TStringTree>
RecursionData & alib::containers::StringTreeIterator< TStringTree >::RecursionData::operator= ( RecursionData && )
defaultnoexcept

Trivial default move assign operator.

Returns
A reference to this.
Here is the call graph for this function:

The documentation for this struct was generated from the following file: