getNameOp< T > Struct Template Reference

General get operation to extract the 'name' from an object as a word. More...

Public Member Functions

word operator() (const T &x) const
 

Detailed Description

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

General get operation to extract the 'name' from an object as a word.

The default implementation uses the 'name()' method commonly used within OpenFOAM.

Definition at line 278 of file ops.H.

Member Function Documentation

◆ operator()()

word operator() ( const T x) const
inline

Definition at line 280 of file ops.H.

References x.


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