|
| template<class T> |
| Istream & | operator>> (Istream &is, UList< T > &list) |
| | Read List contents from Istream, list must have the proper size!
|
| template<class T> |
| Ostream & | operator<< (Ostream &os, const UList< T > &list) |
| | Write List to Ostream, as per UList::writeList() with default length.
|
| template<class T> |
| Ostream & | operator<< (Ostream &os, const std::vector< T > &list) |
| | Write std::vector to Ostream. ASCII only, no line-breaks.
|
| void | identity (UList< int32_t > &map, int32_t start=0) |
| | Fill an identity map with (map[i] == i), works like std::iota().
|
| void | identity (UList< int64_t > &map, int64_t start=0) |
| | Fill an identity map with (map[i] == i), works like std::iota().
|
| template<class T> |
| void | sort (UList< T > &list) |
| | Sort the list.
|
| template<class T, class Compare> |
| void | sort (UList< T > &list, const Compare &comp) |
| | Sort the list with the specified comparator.
|
| template<class T> |
| void | stableSort (UList< T > &list) |
| | Stable sort the list.
|
| template<class T, class Compare> |
| void | stableSort (UList< T > &list, const Compare &comp) |
| | Stable sort the list with the specified comparator.
|
| template<class T> |
| void | shuffle (UList< T > &list) |
| | Randomise the list order.
|
| template<class T> |
| void | reverse (UList< T > &list, const label n) |
| | Reverse the first n elements of the list.
|
| template<class T> |
| void | reverse (UList< T > &list) |
| | Reverse all elements of the list.
|
Original source file UList.H
Definition in file UList.H.