79 <<
"Cannot read file " << filename
A class for handling file names.
bool headerOk()
Read header (uses typeGlobalFile to find file) and check.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Templated form of IOobject providing type information for file reading and header type checking...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
fileName filePath() const
Return the path for the file for this Type.
bool good() const
Return true if next operation might succeed.
bool readHeader(Istream &)
Read header.
word name() const
Return file name (part beyond last /)
fileName path() const
Return directory path name (part before last /)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...