Abstract base type to be used to implement custom sorting. One simple built-in descendant is provided with struct NameSorter.
Definition at line 95 of file stringtreeiterator.inl.
Public Method Index: | |
| virtual | ~Sorter ()=default |
| Necessary virtual destructor. | |
| virtual bool | Compare (const StringTreeType::ConstCursor &lhs, const StringTreeType::ConstCursor &rhs)=0 |
|
pure virtual |
Abstract method which needs to be implemented by descendants.
| 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.