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 203 of file UList.H.

Constructor & Destructor Documentation

◆ greater()

greater ( const UList< T > &  list)

Definition at line 207 of file UList.H.

Member Function Documentation

◆ operator()()

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

Definition at line 212 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 205 of file UList.H.

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

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