39 if (dict.
found(
"format"))
43 typename dictionaryConstructorTable::iterator cstrIter =
44 dictionaryConstructorTablePtr_->find(readerType);
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown reader type " << readerType
51 <<
"Valid reader types : " <<
nl 52 << dictionaryConstructorTablePtr_->sortedToc()
60 if (dict.
found(
"file"))
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 2-tuple for storing two objects of different types.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Reads an interpolation table from a file in OpenFOAM-format. This is a list of Tuple2's where the fir...
Reads an interpolation table from the values entry in OpenFOAM-format.
A class for handling words, derived from string.
word name(const complex &)
Return a string representation of a complex.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< TableReader< Type > > New(const word &name, const dictionary &dict, List< Tuple2< scalar, Type >> &table)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.