Loading...
Searching...
No Matches
List.H File Reference
Include dependency graph for List.H:

Go to the source code of this file.

Classes

class  List< T >
 A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bounds checking, etc. More...
struct  Hash< List< T > >
 Hashing for List data. More...

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Typedefs

typedef List< bool > boolList
 A List of bools.
typedef List< char > charList
 A List of chars.
typedef List< label > labelList
 A List of labels.

Functions

template<class T>
Istreamoperator>> (Istream &is, List< T > &list)
 Read List contents from Istream.
labelList identity (const label len, label start=0)
 Return an identity map of the given length with (map[i] == i), works like std::iota() but returning a list of label values.
template<class IntType>
labelList identity (const IntRange< IntType > &range)
 Return an identity map corresponding to the index range (start, size).
template<class T>
labelList sortedOrder (const UList< T > &input)
 Return the (stable) sort order for the list.
template<class T>
void sortedOrder (const UList< T > &input, labelList &order)
 Generate the (stable) sort order for the list.
template<class T, class ListComparePredicate>
void sortedOrder (const UList< T > &input, labelList &order, const ListComparePredicate &comp)
 Sort using specified list compare predicate.

Detailed Description

Original source file List.H

Definition in file List.H.