Output to memory buffer stream. More...
#include <OpenFOAM/OStringStream.H>
Output to memory buffer stream.
Definition at line 50 of file OStringStream.H.
Inheritance diagram for OStringStream:
Collaboration diagram for OStringStream: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.
| |
| 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().
| string str | ( | ) | const [inline]
|
Return the string.
Definition at line 109 of file OStringStream.H.
References OSstream::stream().
Referenced by commSchedule::commSchedule(), Foam::name(), entry::operator==(), PatchPostProcessing< CloudType >::postPatch(), and primitiveEntry::primitiveEntry().
| 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().