μHAL (v2.7.9)
Part of the IPbus software repository
Public Member Functions | Private Attributes | List of all members
pugi::xml_writer_stream Class Reference

#include <_static/pugixml.hpp>

Inheritance diagram for pugi::xml_writer_stream:
[legend]
Collaboration diagram for pugi::xml_writer_stream:
[legend]

Public Member Functions

 xml_writer_stream (std::basic_ostream< char, std::char_traits< char > > &stream)
 
 xml_writer_stream (std::basic_ostream< wchar_t, std::char_traits< wchar_t > > &stream)
 
virtual void write (const void *data, size_t size) PUGIXML_OVERRIDE
 
- Public Member Functions inherited from pugi::xml_writer
virtual ~xml_writer ()
 

Private Attributes

std::basic_ostream< char, std::char_traits< char > > * narrow_stream
 
std::basic_ostream< wchar_t, std::char_traits< wchar_t > > * wide_stream
 

Detailed Description

Definition at line 332 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_writer_stream() [1/2]

PUGI__FN pugi::xml_writer_stream::xml_writer_stream ( std::basic_ostream< char, std::char_traits< char > > &  stream)

Definition at line 5060 of file pugixml.cpp.

◆ xml_writer_stream() [2/2]

PUGI__FN pugi::xml_writer_stream::xml_writer_stream ( std::basic_ostream< wchar_t, std::char_traits< wchar_t > > &  stream)

Definition at line 5064 of file pugixml.cpp.

Member Function Documentation

◆ write()

PUGI__FN void pugi::xml_writer_stream::write ( const void *  data,
size_t  size 
)
virtual

Implements pugi::xml_writer.

Definition at line 5068 of file pugixml.cpp.

References narrow_stream, and wide_stream.

Member Data Documentation

◆ narrow_stream

std::basic_ostream<char, std::char_traits<char> >* pugi::xml_writer_stream::narrow_stream
private

Definition at line 342 of file pugixml.hpp.

Referenced by write().

◆ wide_stream

std::basic_ostream<wchar_t, std::char_traits<wchar_t> >* pugi::xml_writer_stream::wide_stream
private

Definition at line 343 of file pugixml.hpp.

Referenced by write().


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