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

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

#include <word.H>

Inheritance diagram for typeOp< 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 type() method - for sorting.

Detailed Description

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

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

Definition at line 361 of file word.H.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 363 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 type() method - for sorting.

Definition at line 371 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