45 auto* ctorPtr = dictionaryConstructorTable(readerType);
54 *dictionaryConstructorTablePtr_
74 os.writeEntryIfDifferent<
word>(
"readerType",
"openFoam", this->
type());
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void write(Ostream &os) const
Write additional information.
A class for handling words, derived from Foam::string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
tableReader()=default
Default construct.
static autoPtr< tableReader > New(const dictionary &spec)
Return a reference to the selected tableReader.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T, or return the given default value. FatalIOError if it is found and the number of...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...