Go to the documentation of this file.
36 const word& entryName,
44 dict.readEntry(
"file", fName_);
54 <<
"Cannot open file." <<
nl
86 os.writeEntry(
"file", fName_);
virtual void writeData(Ostream &os) const
Write in dictionary format.
A class for handling words, derived from Foam::string.
A class for handling file names.
Generic input stream using a standard (STL) stream.
const fileOperation & fileHandler()
Get current file handler.
bool good() const noexcept
True if next operation might succeed.
Registry of regIOobjects.
Templated table container function where data are read from file.
virtual void writeData(Ostream &os) const
Write in dictionary format.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
TableFile(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name and "file" found in dictionary.
string & expand(const bool allowEmpty=false)
virtual void writeEntries(Ostream &os) const
Write keywords only in dictionary format.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Base class for table with bounds handling, interpolation and integration.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...