ALib C++ Library
Library Version: 2511 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 136 of file stringtreeiterator.inl.

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 154 of file stringtreeiterator.inl.

◆ pathStringLen

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

The path string length of the actual recursion depth.

Definition at line 169 of file stringtreeiterator.inl.

◆ 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 162 of file stringtreeiterator.inl.

◆ 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 166 of file stringtreeiterator.inl.

◆ 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 159 of file stringtreeiterator.inl.

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: