FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

OFstream Class Reference

Output to file stream. More...

#include <OpenFOAM/OFstream.H>


Detailed Description

Output to file stream.

Source files

Definition at line 90 of file OFstream.H.

Inheritance diagram for OFstream:
Collaboration diagram for OFstream:

List of all members.

Public Member Functions

 ClassName ("OFstream")
 OFstream (const fileName &pathname, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
 Construct from pathname.
 ~OFstream ()
const fileName &  name () const
 Return the name of the stream.
fileName &  name ()
 Return non-const access to the name of the stream.
void  print (Ostream &) const
 Print description of IOstream to Ostream.

Constructor & Destructor Documentation

OFstream ( const fileName &   pathname,
streamFormat   format = ASCII,
versionNumber   version = currentVersion,
compressionType   compression = UNCOMPRESSED  
)

Construct from pathname.

Definition at line 97 of file OFstream.C.

References Foam::endl(), and Foam::Info.

~OFstream (  )

Definition at line 135 of file OFstream.C.


Member Function Documentation

ClassName ( "OFstream"    )
fileName& name (  ) [inline, virtual]

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

Reimplemented from OSstream.

Definition at line 134 of file OFstream.H.

void print ( Ostream &   os  ) const [virtual]

Print description of IOstream to Ostream.

Reimplemented from OSstream.

Definition at line 141 of file OFstream.C.

References OSstream::print().


The documentation for this class was generated from the following files: