OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

OStringStream Class Reference

Inheritance diagram for OStringStream:

Inheritance graph
[legend]
Collaboration diagram for OStringStream:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 59 of file OStringStream.H.


Public Member Functions

 OStringStream (streamFormat format=ASCII, versionNumber version=currentVersion)
 Set stream status.
 ~OStringStream ()
string str () const
void rewind ()
 Clear the OStringStream.
void print (Ostream &) const
 Print description OM IOstream to Ostream.

Constructor & Destructor Documentation

OStringStream ( streamFormat  format = ASCII,
versionNumber  version = currentVersion 
) [inline]

Set stream status.

Definition at line 70 of file OStringStream.H.

~OStringStream (  )  [inline]

Definition at line 87 of file OStringStream.H.

References OStringStream::str(), and OSstream::stream().

Here is the call graph for this function:


Member Function Documentation

string str (  )  const [inline]

Definition at line 97 of file OStringStream.H.

References OSstream::stream().

Referenced by OStringStream::~OStringStream().

Here is the call graph for this function:

Here is the caller graph for this function:

void rewind (  )  [inline]

Clear the OStringStream.

Definition at line 106 of file OStringStream.H.

void print ( Ostream &   )  const [virtual]

Print description OM IOstream to Ostream.

Reimplemented from OSstream.


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