typeOp< T > Struct Template Reference

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

Inheritance diagram for typeOp< T >:
[legend]

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. More...
 

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 254 of file word.H.

Member Function Documentation

◆ operator()() [1/2]

word operator() ( const T obj) const
inline

Definition at line 256 of file word.H.

◆ operator()() [2/2]

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

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

Definition at line 262 of file word.H.

References b.


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