OpenFOAM logo
Open Source CFD Toolkit

IFstream Class Reference

Inheritance diagram for IFstream:

Inheritance graph
[legend]
Collaboration diagram for IFstream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClassName ("IFstream")
 IFstream (const fileName &pathname, streamFormat format=ASCII, versionNumber version=currentVersion)
 Construct from pathname.
 ~IFstream ()
const fileNamename () const
 Return the name of the stream.
fileNamename ()
 Return non-const access to the name of the stream.
virtual void print (Ostream &) const
 Print description of IOstream to Ostream.
IFstreamoperator() () const
 Return a non-const reference to const IFstream.

Constructor & Destructor Documentation

IFstream const fileName pathname,
streamFormat  format = ASCII,
versionNumber  version = currentVersion
 

Construct from pathname.

~IFstream  ) 
 


Member Function Documentation

ClassName "IFstream"   ) 
 

fileName& name  )  [inline, virtual]
 

Return non-const access to the name of the stream.

Reimplemented from ISstream.

Definition at line 132 of file IFstream.H.

const fileName& name  )  const [inline, virtual]
 

Return the name of the stream.

Reimplemented from ISstream.

Definition at line 126 of file IFstream.H.

IFstream& operator()  )  const
 

Return a non-const reference to const IFstream.

Needed for read-constructors where the stream argument is temporary: e.g. thing thisThing(IFstream("thingFileName")());

Reimplemented from Istream.

virtual void print Ostream  )  const [virtual]
 

Print description of IOstream to Ostream.

Reimplemented from ISstream.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org