Go to the documentation of this file.
69 template<
class Compare>
90 template<
class Compare>
91 inline void sort(
const Compare& comp);
void reverseSort()
Reverse (stable) sort the list.
const labelUList & indices() const
Return the list of sorted indices. Updated every sort.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
SortList(const UList< T > &values)
Shallow copy values list reference, sort immediately.
A List with indirect addressing.
An indirect list with addressing based on sorting. The list is sorted upon construction or when expli...
void reset()
Reset list indices to identity.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void reverse()
Reverse the indices.