zipios::OutputStringStream Class Reference

OutputStringStream is typedefed to ostringstream if sstream is part of the standard library (unless Zipios++ has been explicitly configured not to use it). More...

#include <outputstringstream.h>

List of all members.

Public Member Functions

std::string str ()
 Specialization of ostrstream::str() that takes care of null-terminating the string and unfreezing the ostrstream.

Detailed Description

OutputStringStream is typedefed to ostringstream if sstream is part of the standard library (unless Zipios++ has been explicitly configured not to use it).

If sstream is not present OutputStringStream is a subclass of ostrstream from strstream.h. In this case OutputStringStream specializes the str() method, such that the caller does not have to concern himself with null-terminating the string and unfreezing the ostrstream.

Definition at line 24 of file outputstringstream.h.


Member Function Documentation

std::string zipios::OutputStringStream::str (  )  [inline]

Specialization of ostrstream::str() that takes care of null-terminating the string and unfreezing the ostrstream.

Definition at line 29 of file outputstringstream.h.

Referenced by zipios::DeflateOutputStreambuf::overflow(), zipios::ZipCDirEntry::toString(), zipios::ZipLocalEntry::toString(), zipios::BasicEntry::toString(), and zipios::InflateInputStreambuf::underflow().


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

Generated on Wed Nov 23 19:02:52 2011 for FreeCAD by  doxygen 1.6.1