|
Xpace
|
Parameters for sorting. More...
#include <index.h>
Public Types | |
| enum | unindexedAct { unindexedDrop = 0, unindexedfirst = 1, unindexedLast = 2 } |
| What to do with unindexed terms. More... | |
Public Member Functions | |
| SortContext (const Index *index, bool ascend=true, bool keepDuplicates=true, unindexedAct unindexed=unindexedDrop) | |
Public Attributes | |
| const Index * | index |
| Sort using this index. More... | |
| bool | ascend |
| Sort ascending if true, descending if false. More... | |
| bool | keepDuplicates |
| If true, repeat recurring terms (single sort only) More... | |
| unindexedAct | unindexed |
| Xpace::SortContext::SortContext | ( | const Index * | index, |
| bool | ascend = true, |
||
| bool | keepDuplicates = true, |
||
| unindexedAct | unindexed = unindexedDrop |
||
| ) |
| const Index* Xpace::SortContext::index |
| bool Xpace::SortContext::ascend |
| bool Xpace::SortContext::keepDuplicates |
| unindexedAct Xpace::SortContext::unindexed |