Public Member Functions | Static Public Member Functions | List of all members
tableReader< Type > Class Template Referenceabstract

Base class to read table data for the interpolationTable. More...

Inheritance diagram for tableReader< Type >:
Inheritance graph
[legend]

Public Member Functions

 TypeName ("tableReader")
 
 declareRunTimeSelectionTable (autoPtr, tableReader, dictionary,(const dictionary &dict),(dict))
 
 tableReader ()=default
 
 tableReader (const dictionary &dict)
 
virtual autoPtr< tableReader< Type > > clone () const =0
 
virtual ~tableReader ()=default
 
virtual void operator() (const fileName &fName, List< Tuple2< scalar, Type >> &data)=0
 
virtual void operator() (const fileName &fName, List< Tuple2< scalar, List< Tuple2< scalar, Type >>>> &tbl)=0
 
virtual void write (Ostream &os) const
 

Static Public Member Functions

static autoPtr< tableReaderNew (const dictionary &spec)
 

Detailed Description

template<class Type>
class Foam::tableReader< Type >

Base class to read table data for the interpolationTable.

Source files

Definition at line 56 of file tableReader.H.

Constructor & Destructor Documentation

◆ tableReader() [1/2]

tableReader ( )
default

◆ tableReader() [2/2]

tableReader ( const dictionary dict)

Definition at line 58 of file tableReader.C.

◆ ~tableReader()

virtual ~tableReader ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "tableReader< Type >"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
tableReader< Type >  ,
dictionary  ,
(const dictionary &dict ,
(dict  
)

◆ clone()

virtual autoPtr<tableReader<Type> > clone ( ) const
pure virtual

◆ New()

Foam::autoPtr< Foam::tableReader< Type > > New ( const dictionary spec)
static

Definition at line 28 of file tableReader.C.

References Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and dictionary::getOrDefault().

Here is the call graph for this function:

◆ operator()() [1/2]

virtual void operator() ( const fileName fName,
List< Tuple2< scalar, Type >> &  data 
)
pure virtual

◆ operator()() [2/2]

virtual void operator() ( const fileName fName,
List< Tuple2< scalar, List< Tuple2< scalar, Type >>>> &  tbl 
)
pure virtual

◆ write()

void write ( Ostream os) const
virtual

Reimplemented in csvTableReader< Type >.

Definition at line 65 of file tableReader.C.

References os().

Referenced by csvTableReader< Type >::write().

Here is the call graph for this function:
Here is the caller graph for this function:

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