40#ifndef Foam_SortList_H
41#define Foam_SortList_H
69 template<
class Compare>
90 template<
class Compare>
91 inline void sort(
const Compare& comp);
const UList< T > & values() const noexcept
The list of values (without addressing)
A List with indirect addressing.
An indirect list with addressing based on sorting. The list is sorted upon construction or when expli...
void reverse()
Reverse the indices.
const labelUList & indices() const noexcept
Return the list of sorted indices (updated every sort).
void uniqueSort()
Sort the list, only retaining unique entries.
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...