38 #ifndef SortableList_H
39 #define SortableList_H
137 void operator=(std::initializer_list<T>);
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label size() const
Return the number of elements in the UList.
A list that is sorted upon construction or when explicitly requested with the sort() method.
const labelList & indices() const
Return the list of sorted indices. Updated every sort.
void sort()
(stable) sort the list (if changed after construction time)
void operator=(const T &)
Assignment of all entries to the given value.
SortableList()
Null constructor, sort later (eg, after assignment or transfer)
void reverseSort()
Reverse (stable) sort the list.
List< T > & shrink()
Clear the indices and return a reference to the underlying List.
void clear()
Clear the list and the indices.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)