Loading...
Searching...
No Matches
nameOp< T > Struct Template Reference

Extract name (as a word) from an object, typically using its name() method. More...

#include <word.H>

Inheritance diagram for nameOp< T >:

Public Member Functions

word operator() (const T &obj) const
bool operator() (const T &a, const T &b) const
 Less-compare two objects by their name() method - for sorting.

Detailed Description

template<class T>
struct Foam::nameOp< T >

Extract name (as a word) from an object, typically using its name() method.

Definition at line 340 of file word.H.

Member Function Documentation

◆ operator()() [1/2]

template<class T>
word operator() ( const T & obj) const
inline

Definition at line 342 of file word.H.

References Foam::T().

Here is the call graph for this function:

◆ operator()() [2/2]

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

Less-compare two objects by their name() method - for sorting.

Definition at line 350 of file word.H.

References b, and Foam::T().

Here is the call graph for this function:

The documentation for this struct was generated from the following file:
  • src/OpenFOAM/primitives/strings/word/word.H