Go to the source code of this file.
|
class | List |
| 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 |
| 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 | UList |
| 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 | UList::less |
| Less function class that can be used for sorting. More...
|
|
class | UList::greater |
| Greater function class that can be used for sorting. More...
|
|
|
| Foam |
| Namespace for OpenFOAM.
|
|
|
template<class T > |
Ostream & | operator<< (Ostream &, const UList< T > &) |
|
template<class T > |
Istream & | operator>> (Istream &, UList< T > &) |
|
template<class T > |
void | sort (UList< T > &) |
|
template<class T , class Cmp > |
void | sort (UList< T > &, const Cmp &) |
|
template<class T > |
void | stableSort (UList< T > &) |
|
template<class T , class Cmp > |
void | stableSort (UList< T > &, const Cmp &) |
|
template<class T > |
void | shuffle (UList< T > &) |
|
template<class T > |
void | reverse (UList< T > &, const label n) |
|
template<class T > |
void | reverse (UList< T > &) |
|
Original source file UList.H
Definition in file UList.H.
◆ forAll
#define forAll |
( |
|
list, |
|
|
|
i |
|
) |
| for (Foam::label i=0; i<(list).size(); i++) |
◆ forAllReverse
#define forAllReverse |
( |
|
list, |
|
|
|
i |
|
) |
| for (Foam::label i=(list).size()-1; i>=0; i--) |
Reverse loop across all elements in list.
- Usage
-
- See also
- forAll
Definition at line 418 of file UList.H.
◆ forAllIter
#define forAllIter |
( |
|
Container, |
|
|
|
container, |
|
|
|
iter |
|
) |
| |
Value: for \
( \
Container::iterator iter = (container).begin(); \
iter != (container).end(); \
++iter \
)
Iterate across all elements in the container object of type.
Container.
- Usage
forAll(ContainerType, container, iter)
{
statements;
}
- See also
- forAllConstIter
Definition at line 431 of file UList.H.
◆ forAllConstIter
#define forAllConstIter |
( |
|
Container, |
|
|
|
container, |
|
|
|
iter |
|
) |
| |
Value: for \
( \
Container::const_iterator iter = (container).begin(); \
iter != (container).end(); \
++iter \
)
Iterate across all elements in the container object of type.
Container with const access.
- Usage
-
- See also
- forAllIter
Definition at line 449 of file UList.H.