#include <libxml++/io/parserinputbuffer.h>
Public Member Functions | |
_xmlParserInputBuffer* | cobj () |
gives an access to the underlying libxml structure to the children | |
const _xmlParserInputBuffer* | cobj () const |
gives an access to the underlying libxml structure to the children | |
Private Member Functions | |
virtual int | do_read (char* buffer, int len)=0 |
Function called when some data are read from the buffer. | |
virtual bool | do_close () |
Function called before closing the buffer. | |
Private Attributes | |
_xmlParserInputBuffer* | impl_ |
Underlying libxml2 structure. |
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.
virtual bool xmlpp::ParserInputBuffer::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.
virtual int xmlpp::ParserInputBuffer::do_read | ( | char * | buffer, | |
int | len | |||
) | [private, pure virtual] |
Function called when some data are read from the buffer.
buffer | The datas encoded in the charset given to the constructor | |
len | bytes to read |