FreeFOAM The Cross-Platform CFD Toolkit
csvTableReader< Type > Class Template Reference

#include <src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.H>


Detailed Description

template<class Type>
class Foam::csvTableReader< Type >

Definition at line 51 of file csvTableReader.H.

+ Inheritance diagram for csvTableReader< Type >:
+ Collaboration diagram for csvTableReader< Type >:

List of all members.

Public Member Functions

 TypeName ("csv")
 Runtime type information.
 csvTableReader (const dictionary &dict)
 Construct from dictionary.
virtual autoPtr< tableReader
< Type > > 
clone () const
 Construct and return a copy.
virtual ~csvTableReader ()
 Destructor.
virtual void operator() (const fileName &, List< Tuple2< scalar, Type > > &)
 Read the table.
virtual void write (Ostream &os) const
 write the remaining parameters
- Public Member Functions inherited from tableReader< Type >
 TypeName ("tableReader")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, tableReader, dictionary,(const dictionary &dict),(dict))
 tableReader (const dictionary &dict)
 Construct from dictionary.
virtual ~tableReader ()
 Destructor.

Additional Inherited Members

- Static Public Member Functions inherited from tableReader< Type >
static autoPtr< tableReaderNew (const dictionary &spec)
 Return a reference to the selected tableReader.

Constructor & Destructor Documentation

csvTableReader ( const dictionary dict)

Construct from dictionary.

Definition at line 33 of file csvTableReader.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, and List< T >::size().

~csvTableReader ( )
virtual

Destructor.

Definition at line 54 of file csvTableReader.C.


Member Function Documentation

TypeName ( "csv"  )

Runtime type information.

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

Construct and return a copy.

Implements tableReader< Type >.

Definition at line 81 of file csvTableReader.H.

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

write the remaining parameters

Reimplemented from tableReader< Type >.

Definition at line 166 of file csvTableReader.C.

References token::END_STATEMENT, Foam::nl, tableReader< Type >::write(), and Ostream::writeKeyword().


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