Go to the documentation of this file.
42 typename dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown reader type " << readerType
51 <<
"Valid reader types : " <<
nl
52 << dictionaryConstructorTablePtr_->sortedToc()
79 if (this->
type() !=
"openFoam")
82 << this->
type() << token::END_STATEMENT <<
nl;
A class for handling words, derived from string.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
tableReader(const dictionary &dict)
Construct from dictionary.
virtual ~tableReader()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
virtual void write(Ostream &os) const
Write additional information.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
static autoPtr< tableReader > New(const dictionary &spec)
Return a reference to the selected tableReader.