Various utility functions to operate on Pointer Lists. More...
Functions | |
| template<class ReturnType, class T, class AccessOp> | |
| List< ReturnType > | get (const UPtrList< T > &list, const AccessOp &aop) |
| List of values generated by applying the access operation to each list item. | |
| template<class T, class UnaryMatchPredicate> | |
| List< word > | names (const UPtrList< T > &list, const UnaryMatchPredicate &matcher) |
List of names generated by calling name() for each list item and filtered for matches. | |
| template<class T> | |
| List< word > | names (const UPtrList< T > &list) |
List of names generated by calling name() for each list item no filtering (ie, predicates::always). | |
| template<class T, class UnaryMatchPredicate> | |
| label | firstMatching (const UPtrList< T > &list, const UnaryMatchPredicate &matcher) |
| Find first list item with 'name()' that matches, -1 on failure. | |
| template<class T, class UnaryMatchPredicate> | |
| labelList | findMatching (const UPtrList< T > &list, const UnaryMatchPredicate &matcher) |
| Extract list indices for all items with 'name()' that matches. | |
Various utility functions to operate on Pointer Lists.
| List< ReturnType > get | ( | const UPtrList< T > & | list, |
| const AccessOp & | aop ) |
List of values generated by applying the access operation to each list item.
For example,
Referenced by faBoundaryMesh::names(), pointBoundaryMesh::names(), polyBoundaryMesh::names(), polyTopoChanger::names(), ZoneMesh< ZoneType, MeshType >::names(), polyBoundaryMesh::patchRanges(), faBoundaryMesh::patchSizes(), polyBoundaryMesh::patchSizes(), polyBoundaryMesh::patchStarts(), pointBoundaryMesh::physicalTypes(), polyBoundaryMesh::physicalTypes(), faBoundaryMesh::types(), pointBoundaryMesh::types(), polyBoundaryMesh::types(), polyTopoChanger::types(), ZoneMesh< ZoneType, MeshType >::types(), and ZoneMesh< ZoneType, MeshType >::zoneSizes().

| List< word > names | ( | const UPtrList< T > & | list, |
| const UnaryMatchPredicate & | matcher ) |
List of names generated by calling name() for each list item and filtered for matches.
For example,
Referenced by coordinateSystems::names(), coordinateSystems::names(), coordinateSystems::names(), ZoneMesh< ZoneType, MeshType >::names(), and ZoneMesh< ZoneType, MeshType >::names().

List of names generated by calling name() for each list item no filtering (ie, predicates::always).
| label firstMatching | ( | const UPtrList< T > & | list, |
| const UnaryMatchPredicate & | matcher ) |
Find first list item with 'name()' that matches, -1 on failure.
Referenced by coordinateSystems::cfind(), faBoundaryMesh::cfindPatch(), fvBoundaryMesh::cfindPatch(), pointBoundaryMesh::cfindPatch(), polyBoundaryMesh::cfindPatch(), coordinateSystems::findIndex(), coordinateSystems::findIndex(), faBoundaryMesh::findIndex(), polyBoundaryMesh::findIndex(), ZoneMesh< ZoneType, MeshType >::findIndex(), ZoneMesh< ZoneType, MeshType >::findIndex(), faBoundaryMesh::findPatchID(), fvBoundaryMesh::findPatchID(), pointBoundaryMesh::findPatchID(), polyBoundaryMesh::findPatchID(), ZoneMesh< ZoneType, MeshType >::findZoneID(), faBoundaryMesh::indices(), pointBoundaryMesh::indices(), polyBoundaryMesh::indices(), and ZoneMesh< ZoneType, MeshType >::indices().

| labelList findMatching | ( | const UPtrList< T > & | list, |
| const UnaryMatchPredicate & | matcher ) |
Extract list indices for all items with 'name()' that matches.
Referenced by coordinateSystems::indices(), coordinateSystems::indices(), faBoundaryMesh::indices(), faBoundaryMesh::indices(), faBoundaryMesh::indices(), pointBoundaryMesh::indices(), pointBoundaryMesh::indices(), pointBoundaryMesh::indices(), polyBoundaryMesh::indices(), polyBoundaryMesh::indices(), polyBoundaryMesh::indices(), ZoneMesh< ZoneType, MeshType >::indices(), ZoneMesh< ZoneType, MeshType >::indices(), and ZoneMesh< ZoneType, MeshType >::indices().
