Built-in descendant of struct Sorter used to perform simple sorting based on the name of StringTree-nodes.
Definition at line 110 of file stringtreeiterator.inl.
Public Field Index: | |
| bool | CaseSensitive =false |
| Unless changed by the caller, this is copied with every recursion step. | |
| bool | Descending =false |
| Unless changed by the caller, this is copied with every recursion step. | |
Public Method Index: | |
| bool | Compare (const StringTreeType::ConstCursor &lhs, const StringTreeType::ConstCursor &rhs) override |
| bool alib::containers::StringTreeIterator< TStringTree >::NameSorter::CaseSensitive =false |
Unless changed by the caller, this is copied with every recursion step.
Definition at line 115 of file stringtreeiterator.inl.
| bool alib::containers::StringTreeIterator< TStringTree >::NameSorter::Descending =false |
Unless changed by the caller, this is copied with every recursion step.
Definition at line 112 of file stringtreeiterator.inl.
|
inlineoverride |
Implementation of the abstract method. Compares the names of the nodes using the string method alib::strings::TString;CompareTo;String;CompareTo "strings::TString;CompareTo;String;CompareTo".
| lhs | The left-hand side cursor to the node to compare. |
| rhs | The right-hand side cursor to the node to compare. |
true if lhs is 'smaller' than rhs, and false otherwise. Definition at line 122 of file stringtreeiterator.inl.