#include <libxml++/io/ostreamoutputbuffer.h>

| Public Member Functions | |
| OStreamOutputBuffer (std::ostream& output, const Glib::ustring& encoding=Glib::ustring()) | |
| Private Member Functions | |
| virtual bool | do_write (const char* buffer, int len) | 
| Function called when some data are sent to the buffer. | |
| virtual bool | do_close () | 
| Function called before closing the buffer. | |
| xmlpp::OStreamOutputBuffer::OStreamOutputBuffer | ( | std::ostream & | output, | |
| const Glib::ustring & | encoding = Glib::ustring() | |||
| ) | 
| output | The ostream datas will be send to | |
| encoding | Charset in which data will be encoded before being sent to the stream | 
| virtual bool xmlpp::OStreamOutputBuffer::do_close | ( | ) |  [private, virtual] | 
Function called before closing the buffer.
Herited classes should override it if some actions are required before closing the buffer, instead of doing them in the destructor.
Reimplemented from xmlpp::OutputBuffer.
| virtual bool xmlpp::OStreamOutputBuffer::do_write | ( | const char * | buffer, | |
| int | len | |||
| ) |  [private, virtual] | 
Function called when some data are sent to the buffer.
| buffer | The datas encoded in the charset given to the constructor | |
| len | Buffer length | 
Implements xmlpp::OutputBuffer.
 1.5.8
 1.5.8