UList.H File Reference
Include dependency graph for UList.H:
This graph shows which files directly or indirectly include this file:

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...
 
class  SubList< T >
 A List obtained as a section of another List. More...
 
class  UList< T >
 A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscript bounds checking, etc. More...
 
class  IndirectListBase< T, Addr >
 Base for lists with indirect addressing, templated on the list contents type and the addressing type. Storage for both values and addressing is held outside of the class. More...
 
class  UList< T >
 A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscript bounds checking, etc. More...
 
struct  UList< T >::less
 A list compare binary predicate for normal sort. More...
 
struct  UList< T >::greater
 A list compare binary predicate for reverse sort. More...
 
struct  UList< T >::hasher
 Hashing functor for UList. More...
 
struct  UList< T >::Hash< Unused >
 Deprecated(2021-04) hashing functor. Use hasher() More...
 
struct  Hash< UList< T > >
 Hashing for List data. More...
 
struct  accessOp< T >
 
struct  emptyOp< T >
 Test if object is empty, typically using its empty() method. More...
 
struct  sizeOp< T >
 Extract size (as label) from an object, typically using its size() method. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Typedefs

typedef UList< boolboolUList
 A UList of bools. More...
 
typedef UList< char > charUList
 A UList of chars. More...
 
typedef UList< label > labelUList
 A UList of labels. More...
 

Functions

template<class T >
Istream & operator>> (Istream &is, UList< T > &list)
 Read List contents from Istream, list must have the proper size! More...
 
template<class T >
Ostream & operator<< (Ostream &os, const UList< T > &list)
 Write List to Ostream, as per UList::writeList() with default length. More...
 
template<class T >
Ostream & operator<< (Ostream &os, const std::vector< T > &list)
 Write std::vector to Ostream. ASCII only, no line-breaks. More...
 
template<class T >
void sort (UList< T > &a)
 
template<class T , class Compare >
void sort (UList< T > &a, const Compare &comp)
 
template<class T >
void stableSort (UList< T > &a)
 
template<class T , class Compare >
void stableSort (UList< T > &a, const Compare &comp)
 
template<class T >
void shuffle (UList< T > &a)
 
template<class T >
void reverse (UList< T > &list, const label n)
 
template<class T >
void reverse (UList< T > &list)
 
template<class T >
void Swap (UList< T > &a, UList< T > &b)
 Exchange contents of lists - see UList::swap(). More...
 

Detailed Description

Original source file UList.H

Definition in file UList.H.