TableReader< Type > Class Template Referenceabstract

Base class to read table data for tables. More...

Inheritance diagram for TableReader< Type >:

Public Member Functions

 TypeName ("TableReader")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, TableReader, dictionary,(const word &name, const dictionary &dict, List< Tuple2< scalar, Type >> &table),(name, dict, table))
 
 TableReader (const dictionary &dict)
 Construct from dictionary. More...
 
virtual autoPtr< TableReader< Type > > clone () const =0
 Construct and return a clone. More...
 
virtual ~TableReader ()
 Destructor. More...
 
virtual void write (Ostream &os, const List< Tuple2< scalar, Type >> &table) const
 Write additional information. More...
 

Static Public Member Functions

static autoPtr< TableReader< Type > > New (const word &name, const dictionary &dict, List< Tuple2< scalar, Type >> &table)
 

Detailed Description

template<class Type>
class Foam::TableReader< Type >

Base class to read table data for tables.

Source files

Definition at line 49 of file TableReader.H.

Constructor & Destructor Documentation

◆ TableReader()

TableReader ( const dictionary dict)

Construct from dictionary.

Definition at line 31 of file TableReader.C.

◆ ~TableReader()

~TableReader ( )
virtual

Destructor.

Definition at line 38 of file TableReader.C.

Member Function Documentation

◆ TypeName()

TypeName ( "TableReader< Type >"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
TableReader< Type >  ,
dictionary  ,
(const word &name, const dictionary &dict, List< Tuple2< scalar, Type >> &table)  ,
(name, dict, table)   
)

◆ clone()

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

Construct and return a clone.

Implemented in Csv< Type >, Foam< Type >, and Embedded< Type >.

◆ New()

Foam::autoPtr< Foam::TableReader< Type > > New ( const word name,
const dictionary dict,
List< Tuple2< scalar, Type >> &  table 
)
static

Definition at line 33 of file TableReaderNew.C.

◆ write()

void write ( Ostream os,
const List< Tuple2< scalar, Type >> &  table 
) const
virtual

Write additional information.

Reimplemented in Csv< Type >, Embedded< Type >, and TableFileReader< Type >.

Definition at line 46 of file TableReader.C.

Referenced by TableReader< scalar >::~TableReader().

Here is the caller graph for this function:

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