INew< T > Class Template Reference

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

Public Member Functions

 INew ()
 Construct null. More...
 
autoPtr< Toperator() (Istream &is) const
 New from Istream. More...
 
autoPtr< Toperator() (const word &, Istream &is) const
 New from word (unused) and Istream. More...
 
autoPtr< Toperator() (const dictionary &dict) const
 New from dictionary. More...
 
autoPtr< Toperator() (const word &, const dictionary &dict) const
 New from word (unused) and dictionary. More...
 

Detailed Description

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

A helper class when constructing from an Istream or dictionary.

Definition at line 51 of file INew.H.

Constructor & Destructor Documentation

◆ INew()

INew ( )
inline

Construct null.

Definition at line 56 of file INew.H.

Member Function Documentation

◆ operator()() [1/4]

autoPtr< T > operator() ( Istream is) const
inline

New from Istream.

Definition at line 60 of file INew.H.

◆ operator()() [2/4]

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]

autoPtr< T > operator() ( const dictionary dict) const
inline

New from dictionary.

Definition at line 72 of file INew.H.

References dict.

◆ operator()() [4/4]

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

New from word (unused) and dictionary.

Definition at line 78 of file INew.H.

References dict.


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