libxml++ 5.4.0
xmlpp::OStreamOutputBuffer Class Reference

An OutputBuffer implementation that send datas to a std::ostream. More...

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

Inheritance diagram for xmlpp::OStreamOutputBuffer:

Public Member Functions

 OStreamOutputBuffer (std::ostream & output, const ustring & encoding=ustring())
 ~OStreamOutputBuffer () override
Public Member Functions inherited from xmlpp::OutputBuffer
 OutputBuffer (const ustring & encoding=ustring())
 ~OutputBuffer () override
const _xmlOutputBuffer * cobj () const noexcept
 gives an access to the underlying libxml structure to the children
_xmlOutputBuffer * cobj () noexcept
 gives an access to the underlying libxml structure to the children
Public Member Functions inherited from xmlpp::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 NonCopyable (NonCopyable &&)=delete
NonCopyableoperator= (const NonCopyable &)=delete
NonCopyableoperator= (NonCopyable &&)=delete

Additional Inherited Members

Protected Member Functions inherited from xmlpp::NonCopyable
 NonCopyable () noexcept
virtual ~NonCopyable ()

Detailed Description

An OutputBuffer implementation that send datas to a std::ostream.

Constructor & Destructor Documentation

◆ OStreamOutputBuffer()

xmlpp::OStreamOutputBuffer::OStreamOutputBuffer ( std::ostream & output,
const ustring & encoding = ustring() )
Parameters
outputThe ostream datas will be send to
encodingCharset in which data will be encoded before being sent to the stream

◆ ~OStreamOutputBuffer()

xmlpp::OStreamOutputBuffer::~OStreamOutputBuffer ( )
override