#include <stringtree.hpp>
Protected, internal struct used to store the data of recursive iterations.
Definition at line 1454 of file stringtree.hpp.
Public Fields | |
union { | |
size_t sorted | |
baseNode * unsorted | |
} | actChild |
std::vector< baseNode * > | childrenSorted |
basetree::NodeList * | childrenUnsorted |
bool(* | customSorter )(const NodePtr &, const NodePtr &) |
bool | isSorting |
bool | sortingIsCaseSensitive |
bool | sortingIsDescending |
Public Methods | |
RecursionData () noexcept=default | |
RecursionData (const RecursionData &)=default | |
RecursionData (RecursionData &&) noexcept=default | |
~RecursionData () noexcept=default | |
RecursionData & | operator= (const RecursionData &)=default |
RecursionData & | operator= (RecursionData &&) noexcept=default |
|
defaultnoexcept |
Trivial default constructor.
|
default |
Trivial default copy constructor.
|
defaultnoexcept |
Trivial default move constructor.
|
defaultnoexcept |
Trival default destructor
|
default |
Trivial default copy assign operator.
this
.
|
defaultnoexcept |
Trivial default move assign operator.
this
. union { ... } actChild |
Combines a node hook and and a current vector index used to remember the current child in unsorted, respectively sorted mode.
std::vector<baseNode*> childrenSorted |
A pointer to a dynamically allocated vector of children used with sorting.
Definition at line 1478 of file stringtree.hpp.
basetree::NodeList* childrenUnsorted |
The child hook of the parent node, used with unsorted iteration.
Definition at line 1475 of file stringtree.hpp.
Copied from RecursiveIterator::nextCustomSorter with every recursion step.
Definition at line 1483 of file stringtree.hpp.
bool isSorting |
Copied from RecursiveIterator::nextIsSorting with every recursion step.
Definition at line 1488 of file stringtree.hpp.
size_t sorted |
The current child index in case of sorted access. A value of static_cast<size_t>(-1)
indicates that the actual node itself is selected.
Definition at line 1470 of file stringtree.hpp.
bool sortingIsCaseSensitive |
Copied from RecursiveIterator::nextSortingIsCaseSensitive with every recursion step.
Definition at line 1498 of file stringtree.hpp.
bool sortingIsDescending |
Copied from RecursiveIterator::nextSortingIsDescending with every recursion step.
Definition at line 1493 of file stringtree.hpp.
baseNode* unsorted |
The current child of the current node in case of unsorted access If this is pointing to the end of the child map, then the actual node itself is selected by this RecursiveIterator.
Definition at line 1465 of file stringtree.hpp.