42 typename dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
50 "tableReader::New(const dictionary&)" 51 ) <<
"Unknown reader type " << readerType
53 <<
"Valid reader types : " <<
nl 54 << dictionaryConstructorTablePtr_->sortedToc()
81 if (this->
type() !=
"openFoam")
84 << this->
type() << token::END_STATEMENT <<
nl;
virtual void write(Ostream &os) const
Write additional information.
A class for handling words, derived from string.
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...
static autoPtr< tableReader > New(const dictionary &spec)
Return a reference to the selected tableReader.
virtual ~tableReader()
Destructor.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
tableReader(const dictionary &dict)
Construct from dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...