Loading...
Searching...
No Matches
natural_sort::list_greater< T > Struct Template Reference

A Ulist compare binary predicate for reverse natural sort. More...

#include <stringOpsSort.H>

Public Member Functions

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

Public Attributes

const UList< T > & values

Detailed Description

template<class T>
struct Foam::stringOps::natural_sort::list_greater< T >

A Ulist compare binary predicate for reverse natural sort.

Definition at line 150 of file stringOpsSort.H.

Constructor & Destructor Documentation

◆ list_greater()

template<class T>
list_greater ( const UList< T > & list)
inlinenoexcept

Definition at line 154 of file stringOpsSort.H.

References Foam::noexcept.

Member Function Documentation

◆ operator()()

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

Definition at line 159 of file stringOpsSort.H.

References b, natural_sort::compare(), and values.

Here is the call graph for this function:

Member Data Documentation

◆ values

template<class T>
const UList<T>& values

Definition at line 152 of file stringOpsSort.H.

Referenced by operator()().


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