UList< T >::greater Struct Reference

A list compare binary predicate for reverse sort. More...

Public Member Functions

 greater (const UList< T > &list)
 
bool operator() (const label a, const label b) const
 

Public Attributes

const UList< T > & values
 

Detailed Description

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

A list compare binary predicate for reverse sort.

Definition at line 195 of file UList.H.

Constructor & Destructor Documentation

◆ greater()

greater ( const UList< T > &  list)
inline

Definition at line 199 of file UList.H.

Member Function Documentation

◆ operator()()

bool operator() ( const label  a,
const label  b 
) const
inline

Definition at line 204 of file UList.H.

References Foam::constant::physicoChemical::b, and UList< T >::greater::values.

Member Data Documentation

◆ values

const UList<T>& values

Definition at line 197 of file UList.H.

Referenced by UList< T >::greater::operator()().


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