Functions to operate on Pointer Lists. More...
Go to the source code of this file.
Classes | |
| struct | less< T > |
| A UPtrList compare binary predicate for normal sort. More... | |
| struct | greater< T > |
| A UPtrList compare binary predicate for reverse sort. More... | |
Namespaces | |
| Foam::PtrListOps | |
| Various utility functions to operate on Pointer Lists. | |
| Foam | |
| Namespace for OpenFOAM. | |
Functions | |
| template<class T > | |
| labelList | sortedOrder (const UPtrList< T > &input) |
| Return (stable) sort order for the list. More... | |
| template<class T > | |
| void | sortedOrder (const UPtrList< T > &input, labelList &order) |
| Generate (stable) sort order for the list. More... | |
| template<class T , class ListComparePredicate > | |
| void | sortedOrder (const UPtrList< T > &input, labelList &order, const ListComparePredicate &comp) |
| template<class T > | |
| void | sort (UPtrList< T > &list) |
| Inplace (stable) sorting of pointer list. More... | |
| template<class T , class Compare > | |
| void | sort (UPtrList< T > &list, const Compare &comp) |
| Inplace (stable) sorting of pointer list. More... | |
| template<class T > | |
| void | shuffle (UPtrList< T > &list) |
| Inplace shuffle of pointer list. More... | |
Functions to operate on Pointer Lists.
Original source file PtrListOps.H
InNamespace Foam
Definition in file PtrListOps.H.