Loading...
Searching...
No Matches
INew< T > Class Template Reference

A helper class when constructing from an Istream or dictionary. More...

#include <INew.H>

Public Member Functions

 INew () noexcept=default
 Default construct.
autoPtr< Toperator() (Istream &is) const
 New from Istream.
autoPtr< Toperator() (const word &, Istream &is) const
 New from word (unused) and Istream.
autoPtr< Toperator() (const dictionary &dict) const
 New from dictionary.
autoPtr< Toperator() (const word &, const dictionary &dict) const
 New from word (unused) and dictionary.

Detailed Description

template<class T>
class Foam::INew< T >

A helper class when constructing from an Istream or dictionary.

Definition at line 46 of file INew.H.

Constructor & Destructor Documentation

◆ INew()

template<class T>
INew ( )
defaultnoexcept

Default construct.

References Foam::noexcept.

Member Function Documentation

◆ operator()() [1/4]

template<class T>
autoPtr< T > operator() ( Istream & is) const
inline

New from Istream.

Definition at line 58 of file INew.H.

References Foam::T().

Here is the call graph for this function:

◆ operator()() [2/4]

template<class T>
autoPtr< T > operator() ( const word & ,
Istream & is ) const
inline

New from word (unused) and Istream.

Definition at line 66 of file INew.H.

◆ operator()() [3/4]

template<class T>
autoPtr< T > operator() ( const dictionary & dict) const
inline

New from dictionary.

Definition at line 74 of file INew.H.

References dict.

◆ operator()() [4/4]

template<class T>
autoPtr< T > operator() ( const word & ,
const dictionary & dict ) const
inline

New from word (unused) and dictionary.

Definition at line 82 of file INew.H.

References dict.


The documentation for this class was generated from the following file:
  • src/OpenFOAM/db/IOstreams/IOstreams/INew.H