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