48 <<
"Cannot open file" << fName_ <<
nl
59 <<
"Table read from " << fName_ <<
" is empty" <<
nl
74 fName_(
dict.lookup(
"file"))
bool good() const
Return true if next operation might succeed.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base class to read table data for tables.
virtual ~TableFileReader()
Destructor.
TableFileReader(const dictionary &dict)
Construct from dictionary.
virtual void write(Ostream &os, const List< Tuple2< scalar, Type >> &table) const
Write additional information.
Base class to read table data for tables.
A 2-tuple for storing two objects of different types.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling file names.
string & expand(const bool allowEmpty=false)
Expand initial tildes and all occurrences of environment variables.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
const fileOperation & fileHandler()
Get current file handler.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.