Loading...
Searching...
No Matches
UPtrList< T >::greater Struct Reference

A UPtrList compare binary predicate for reverse sort order. More...

#include <UPtrList.H>

Public Member Functions

 greater (const UPtrList< T > &list)
bool operator() (const label ai, const label bi) const
 Compare dereferenced pointer locations for reverse sort.

Public Attributes

const UPtrList< T > & values

Detailed Description

template<class T>
struct Foam::UPtrList< T >::greater

A UPtrList compare binary predicate for reverse sort order.

Null entries (if any) sort to the end.

Definition at line 221 of file UPtrList.H.

Constructor & Destructor Documentation

◆ greater()

template<class T>
greater ( const UPtrList< T > & list)
inline

Definition at line 225 of file UPtrList.H.

References UPtrList< T >::UPtrList(), and values.

Here is the call graph for this function:

Member Function Documentation

◆ operator()()

template<class T>
bool operator() ( const label ai,
const label bi ) const
inline

Compare dereferenced pointer locations for reverse sort.

Definition at line 233 of file UPtrList.H.

References b, Foam::T(), and values.

Here is the call graph for this function:

Member Data Documentation

◆ values

template<class T>
const UPtrList<T>& values

Definition at line 223 of file UPtrList.H.

Referenced by greater(), and operator()().


The documentation for this struct was generated from the following file:
  • src/OpenFOAM/containers/PtrLists/UPtrList/UPtrList.H