OpenFOAM logo
Open Source CFD Toolkit

prefixOSstream Class Reference

Inheritance diagram for prefixOSstream:

Inheritance graph
[legend]
Collaboration diagram for prefixOSstream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 prefixOSstream (ostream &os, const string &name, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
 Set stream status.
const stringprefix () const
 Return the prefix of the stream.
stringprefix ()
 Return non-const access to the prefix of the stream.
virtual Ostreamwrite (const token &)
 Write next token to stream.
virtual Ostreamwrite (const char)
 Write character.
virtual Ostreamwrite (const char *)
 Write character string.
virtual Ostreamwrite (const word &)
 Write word.
virtual Ostreamwrite (const string &)
 Write string.
virtual Ostreamwrite (const label)
 Write label.
virtual Ostreamwrite (const floatScalar)
 Write floatScalar.
virtual Ostreamwrite (const doubleScalar)
 Write doubleScalar.
virtual Ostreamwrite (const char *, std::streamsize)
 Write binary block.
virtual void indent ()
 Add indentation characters.
virtual void print (Ostream &) const
 Print description of IOstream to Ostream.

Constructor & Destructor Documentation

prefixOSstream ostream &  os,
const string name,
streamFormat  format = ASCII,
versionNumber  version = currentVersion,
compressionType  compression = UNCOMPRESSED
 

Set stream status.


Member Function Documentation

virtual void indent  )  [virtual]
 

Add indentation characters.

Reimplemented from OSstream.

string& prefix  )  [inline]
 

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

Definition at line 101 of file prefixOSstream.H.

const string& prefix  )  const [inline]
 

Return the prefix of the stream.

Definition at line 95 of file prefixOSstream.H.

virtual void print Ostream  )  const [virtual]
 

Print description of IOstream to Ostream.

Reimplemented from OSstream.

virtual Ostream& write const char *  ,
std::streamsize 
[virtual]
 

Write binary block.

Reimplemented from OSstream.

virtual Ostream& write const   doubleScalar  )  [virtual]
 

Write doubleScalar.

Reimplemented from OSstream.

virtual Ostream& write const   floatScalar  )  [virtual]
 

Write floatScalar.

Reimplemented from OSstream.

virtual Ostream& write const   label  )  [virtual]
 

Write label.

Reimplemented from OSstream.

virtual Ostream& write const string  )  [virtual]
 

Write string.

Reimplemented from OSstream.

virtual Ostream& write const word  )  [virtual]
 

Write word.

Reimplemented from OSstream.

virtual Ostream& write const char *   )  [virtual]
 

Write character string.

Reimplemented from OSstream.

virtual Ostream& write const   char  )  [virtual]
 

Write character.

Reimplemented from OSstream.

virtual Ostream& write const token  )  [virtual]
 

Write next token to stream.

Reimplemented from OSstream.


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