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

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>

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).


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 files:
Generated on Fri May 9 10:40:03 2003 for log4cpp by doxygen1.2.18