Protected, internal struct used to store the data of recursive iterations.
Definition at line 1733 of file stringtree.inl.
Public Field Index: | ||
union { | ||
size_t sorted | ||
cmNodeBase * unsorted | ||
} | actChild | |
std::vector< cmNode * > | childrenSorted | |
A pointer to a dynamically allocated vector of children used with sorting. | ||
lang::BidiListHook< baseNodeBase > * | childrenUnsorted | |
bool(* | customSorter )(const cmCursor &, const cmCursor &) | |
bool | isSorting | |
bool | sortingIsCaseSensitive | |
bool | sortingIsDescending | |
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 | |
Trival default destructor. | |
RecursionData & | operator= (const RecursionData &)=default |
RecursionData & | operator= (RecursionData &&) noexcept=default |
union { ... } alib::containers::StringTree< TAllocator, T, TNodeHandler, TRecycling >::TRecursiveIterator< TConst >::RecursionData::actChild |
Combines a node hook and and a current vector index used to remember the current child in unsorted, respectively sorted mode.
std::vector<cmNode*> alib::containers::StringTree< TAllocator, T, TNodeHandler, TRecycling >::TRecursiveIterator< TConst >::RecursionData::childrenSorted |
A pointer to a dynamically allocated vector of children used with sorting.
Definition at line 1763 of file stringtree.inl.
lang::BidiListHook<baseNodeBase>* alib::containers::StringTree< TAllocator, T, TNodeHandler, TRecycling >::TRecursiveIterator< TConst >::RecursionData::childrenUnsorted |
The child hook of the parent node, used with unsorted iteration. Note that this is declared const
, in case template param TConst equals true
.
Definition at line 1755 of file stringtree.inl.
bool(* alib::containers::StringTree< TAllocator, T, TNodeHandler, TRecycling >::TRecursiveIterator< TConst >::RecursionData::customSorter) (const cmCursor &, const cmCursor &) |
Copied from TRecursiveIterator with every recursion step.
Definition at line 1767 of file stringtree.inl.
bool alib::containers::StringTree< TAllocator, T, TNodeHandler, TRecycling >::TRecursiveIterator< TConst >::RecursionData::isSorting |
Copied from TRecursiveIterator with every recursion step.
Definition at line 1771 of file stringtree.inl.
size_t alib::containers::StringTree< TAllocator, T, TNodeHandler, TRecycling >::TRecursiveIterator< TConst >::RecursionData::sorted |
The current child index in case of sorted access. A value of size_t(-1)
indicates that the actual node itself is selected.
Definition at line 1747 of file stringtree.inl.
bool alib::containers::StringTree< TAllocator, T, TNodeHandler, TRecycling >::TRecursiveIterator< TConst >::RecursionData::sortingIsCaseSensitive |
Copied from TRecursiveIterator with every recursion step.
Definition at line 1779 of file stringtree.inl.
bool alib::containers::StringTree< TAllocator, T, TNodeHandler, TRecycling >::TRecursiveIterator< TConst >::RecursionData::sortingIsDescending |
Copied from TRecursiveIterator with every recursion step.
Definition at line 1775 of file stringtree.inl.
cmNodeBase* alib::containers::StringTree< TAllocator, T, TNodeHandler, TRecycling >::TRecursiveIterator< TConst >::RecursionData::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 1742 of file stringtree.inl.
|
default |
Trivial default copy assign operator.
this
.
|
defaultnoexcept |
Trivial default move assign operator.
this
.