UPtrList< T >::less Struct Reference

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

Public Member Functions

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

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()

less ( const UPtrList< T > &  list)
inline

Definition at line 199 of file UPtrList.H.

Member Function Documentation

◆ operator()()

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 Foam::constant::physicoChemical::b, Foam::T(), and UPtrList< T >::less::values.

Here is the call graph for this function:

Member Data Documentation

◆ values

const UPtrList<T>& values

Definition at line 197 of file UPtrList.H.

Referenced by UPtrList< T >::less::operator()().


The documentation for this struct was generated from the following file: