OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

OFstream Class Reference

Output to file stream. More...

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 fileNamename () const
 Return the name of the stream.
fileNamename ()
 Return non-const access to the name of the stream.
void print (Ostream &) const
 Print description of IOstream to Ostream.

Detailed Description

Output to file stream.

Source files

Definition at line 85 of file OFstream.H.


Constructor & Destructor Documentation

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

Construct from pathname.

Definition at line 89 of file OFstream.C.

~OFstream (  ) 

Definition at line 127 of file OFstream.C.


Member Function Documentation

ClassName ( "OFstream"   ) 

const fileName& name (  )  const [inline, virtual]

Return the name of the stream.

Reimplemented from OSstream.

Definition at line 123 of file OFstream.H.

fileName& name (  )  [inline, virtual]

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

Reimplemented from OSstream.

Definition at line 129 of file OFstream.H.

void print ( Ostream os  )  const [virtual]

Print description of IOstream to Ostream.

Reimplemented from OSstream.

Definition at line 133 of file OFstream.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd