Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

log4cpp::OstringStream Class Reference

OstringStream is a portability class used to work around the unavailability of std::ostringstream on some platforms (most notably g++ < 2.95.3). More...

#include <OstringStream.hh>

Inheritance diagram for log4cpp::OstringStream:

Inheritance graph
[legend]
Collaboration diagram for log4cpp::OstringStream:

Collaboration graph
[legend]
List of all members.

Public Methods

std::string str ()
void vform (const char *format, va_list args)
 appends a string to the stream, built from a format specifier and a va_list of arguments, analogously to vprintf(3). More...


Detailed Description

OstringStream is a portability class used to work around the unavailability of std::ostringstream on some platforms (most notably g++ < 2.95.3).

It also provides a vform() method.


Member Function Documentation

std::string log4cpp::OstringStream::str ( )
 

void log4cpp::OstringStream::vform ( const char * format,
va_list args )
 

appends a string to the stream, built from a format specifier and a va_list of arguments, analogously to vprintf(3).

Parameters:
format   the format specifier.
args   the va_list of arguments.


The documentation for this class was generated from the following file:
Generated at Mon Jun 11 01:25:24 2001 for log4cpp by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001