Loading...
Searching...
No Matches
greater< ListType > Struct Template Reference

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

#include <ListOps.H>

Public Member Functions

 greater (const ListType &list)
bool operator() (const label a, const label b) const

Public Attributes

const ListType & values

Detailed Description

template<class ListType>
struct Foam::ListOps::greater< ListType >

A list compare binary predicate for reverse sort.

Definition at line 774 of file ListOps.H.

Constructor & Destructor Documentation

◆ greater()

template<class ListType>
greater ( const ListType & list)
inline

Definition at line 778 of file ListOps.H.

References values.

Member Function Documentation

◆ operator()()

template<class ListType>
bool operator() ( const label a,
const label b ) const
inline

Definition at line 783 of file ListOps.H.

References b, and values.

Member Data Documentation

◆ values

template<class ListType>
const ListType& values

Definition at line 776 of file ListOps.H.

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


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