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

OStringStream Class Reference

Output to memory buffer stream. More...

#include <OpenFOAM/OStringStream.H>


Detailed Description

Output to memory buffer stream.

Source files

Definition at line 50 of file OStringStream.H.

Inheritance diagram for OStringStream:
Collaboration diagram for OStringStream:

List of all members.

Public Member Functions

 OStringStream (streamFormat format=ASCII, versionNumber version=currentVersion)
 Construct and set stream status.
 OStringStream (const OStringStream &oss)
 Construct as copy.
 ~OStringStream ()
string  str () const
 Return the string.
void  rewind ()
 Clear the OStringStream.
void  print (Ostream &) const
 Print description to Ostream.

Constructor & Destructor Documentation

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

Construct and set stream status.

Definition at line 61 of file OStringStream.H.

OStringStream ( const OStringStream &   oss  ) [inline]

Construct as copy.

Definition at line 76 of file OStringStream.H.

~OStringStream (  ) [inline]

Definition at line 98 of file OStringStream.H.

References OSstream::stream().


Member Function Documentation

void rewind (  ) [inline]

Clear the OStringStream.

Definition at line 118 of file OStringStream.H.

References OSstream::stream().

void print ( Ostream &   os  ) const [virtual]

Print description to Ostream.

Reimplemented from OSstream.

Definition at line 43 of file StringStreamsPrint.C.

References Foam::endl(), Foam::name(), and OSstream::print().


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