libxml++
1.0.0
|
Base class for xmlOutputBuffer wrapper. More...
Inherits xmlpp::NonCopyable.
Inherited by xmlpp::OStreamOutputBuffer.
Public Member Functions | |
OutputBuffer (const std::string &encoding=std::string()) | |
virtual | ~OutputBuffer () |
_xmlOutputBuffer * | cobj () |
gives an access to the underlying libxml structure to the children | |
const _xmlOutputBuffer * | cobj () const |
gives an access to the underlying libxml structure to the children | |
Friends | |
struct | OutputBufferCallback |
Base class for xmlOutputBuffer wrapper.
It can be herited to create a new output buffer. A child class has to override do_write, and eventually do_close if some actions are required before buffer closing.
xmlpp::OutputBuffer::OutputBuffer | ( | const std::string & | encoding = std::string() | ) |
encoding | The encoding herited class wait for in do_write. If not provided, UTF-8 will be sent to do_write. |
virtual xmlpp::OutputBuffer::~OutputBuffer | ( | ) | [virtual] |
_xmlOutputBuffer* xmlpp::OutputBuffer::cobj | ( | ) |
gives an access to the underlying libxml structure to the children
const _xmlOutputBuffer* xmlpp::OutputBuffer::cobj | ( | ) | const |
gives an access to the underlying libxml structure to the children
friend struct OutputBufferCallback [friend] |