105 virtual const std::istream&
stdStream()
const;
Input from file stream, using an ISstream.
IFstream & operator()() const
Return a non-const reference to const IFstream.
~IFstream()=default
Destructor.
virtual std::istream & stdStream()
Access to underlying std::istream.
virtual void print(Ostream &os) const
Print stream description.
IFstream(const fileName &pathname, IOstreamOption::streamFormat fmt, IOstreamOption::versionNumber ver=IOstreamOption::currentVersion)
Construct from pathname, format (version)
virtual void rewind()
Rewind the stream so that it may be read again.
ClassName("IFstream")
Declare type-name (with debug switch)
Representation of a major/minor version number.
The IOstreamOption is a simple container for options an IOstream can normally have.
streamFormat
Data format (ascii | binary)
static const versionNumber currentVersion
The current version number (2.0)
Generic input stream using a standard (STL) stream.
virtual const fileName & name() const
Return the name of the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
unsigned int get() const
Get value as unsigned, no range-checking.
A class for handling file names.
A wrapped std::ifstream with possible compression handling (igzstream) that behaves much like a std::...
Macro definitions for declaring ClassName(), NamespaceName(), etc.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
OBJstream os(runTime.globalPath()/outputName)