libxml++: xmlpp::OutputBuffer Class Reference

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

# xmlpp::OutputBuffer Class Reference

Base class for xmlOutputBuffer wrapper. More...

Inheritance diagram for xmlpp::OutputBuffer:

[legend]
List of all members.

## Public Member Functions
| OutputBuffer (const Glib::ustring &encoding=Glib::ustring())
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

## Detailed Description

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.

## Constructor & Destructor Documentation

xmlpp::OutputBuffer::OutputBuffer | ( | const Glib::ustring & | encoding = `Glib::ustring()` | ) |

  | Parameters:
  | encoding | The encoding herited class wait for in do_write. If not provided, UTF-8 will be sent to do_write.
Warning: The encoding is done by libxml. As a consequence, libxml must have a translator to the target encoding.

virtual xmlpp::OutputBuffer::~OutputBuffer | ( |  | ) | `[virtual]`

## Member Function Documentation

const _xmlOutputBuffer* xmlpp::OutputBuffer::cobj | ( |  | ) | const

| gives an access to the underlying libxml structure to the children

_xmlOutputBuffer* xmlpp::OutputBuffer::cobj | ( |  | ) |

| gives an access to the underlying libxml structure to the children

## Friends And Related Function Documentation

friend struct OutputBufferCallback`[friend]`

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

- outputbuffer.h