FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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

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 [inline, virtual]

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:
  • src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.H
  • src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.C