Go to the documentation of this file.
36 const word& entryName,
43 dict.readEntry(
"file", fName_);
53 <<
"Cannot open file." <<
nl
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.
TableFile(const word &entryName, const dictionary &dict)
Construct from entry name and "file" found in dictionary.
Generic input stream using a standard (STL) stream.
const fileOperation & fileHandler()
Get current file handler.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
word name(const complex &c)
Return string representation of complex.
Templated table container function where data are read from file.
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual Ostream & endEntry()
Write end entry (';') followed by newline.
virtual Ostream & endBlock()
Write end block group.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
string & expand(const bool allowEmpty=false)
virtual void writeEntries(Ostream &os) const
Write keywords only in dictionary format.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
#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,...
bool good() const
Return true if next operation might succeed.