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

A UPtrList compare binary predicate for normal sort order. Null entries (if any) sort to the end. More...

#include <UPtrList.H>

Public Member Functions

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

Public Attributes

const UPtrList< T > & values

Detailed Description

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

A UPtrList compare binary predicate for normal sort order. Null entries (if any) sort to the end.

Definition at line 195 of file UPtrList.H.

Constructor & Destructor Documentation

◆ less()

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

Definition at line 199 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 normal sort.

Definition at line 207 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 197 of file UPtrList.H.

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


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