greater< ListType > Struct Template Reference

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

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 603 of file ListOps.H.

Constructor & Destructor Documentation

◆ greater()

greater ( const ListType &  list)
inline

Definition at line 607 of file ListOps.H.

Member Function Documentation

◆ operator()()

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

Definition at line 612 of file ListOps.H.

References b, and greater< ListType >::values.

Member Data Documentation

◆ values

const ListType& values

Definition at line 605 of file ListOps.H.

Referenced by greater< ListType >::operator()().


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