TableFileReader< Type > Class Template Referenceabstract

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

Inheritance diagram for TableFileReader< Type >:
Collaboration diagram for TableFileReader< Type >:

Public Member Functions

 TableFileReader (const dictionary &dict)
 Construct from dictionary. More...
 
virtual ~TableFileReader ()
 Destructor. More...
 
virtual void write (Ostream &os, const List< Tuple2< scalar, Type >> &table) const
 Write additional information. More...
 
- Public Member Functions inherited from TableReader< Type >
 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...
 

Protected Member Functions

void read (const dictionary &dict, List< Tuple2< scalar, Type >> &) const
 Read a 1D table. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from TableReader< Type >
static autoPtr< TableReader< Type > > New (const word &name, const dictionary &dict, List< Tuple2< scalar, Type >> &table)
 

Detailed Description

template<class Type>
class Foam::TableFileReader< Type >

Base class to read table data for tables.

Source files

Definition at line 49 of file TableFileReader.H.

Constructor & Destructor Documentation

◆ TableFileReader()

TableFileReader ( const dictionary dict)

Construct from dictionary.

Definition at line 69 of file TableFileReader.C.

Referenced by TableFileReader< Type >::read().

Here is the caller graph for this function:

◆ ~TableFileReader()

~TableFileReader ( )
virtual

Destructor.

Definition at line 81 of file TableFileReader.C.

References TableFileReader< Type >::write().

Here is the call graph for this function:

Member Function Documentation

◆ read()

void read ( const dictionary dict,
List< Tuple2< scalar, Type >> &  table 
) const
protected

◆ write()

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

Write additional information.

Reimplemented from TableReader< Type >.

Reimplemented in Csv< Type >.

Definition at line 89 of file TableFileReader.C.

References Foam::type(), and Foam::writeEntry().

Referenced by Csv< Type >::write(), and TableFileReader< Type >::~TableFileReader().

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: