Public Member Functions | Private Attributes | List of all members
pugi::xml_writer_stream Class Reference

#include <pugixml.hpp>

+ Inheritance diagram for pugi::xml_writer_stream:
+ Collaboration diagram for pugi::xml_writer_stream:

Public Member Functions

virtual void write (const void *data, size_t size) PUGIXML_OVERRIDE
 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)
- 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 328 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 5053 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 5057 of file pugixml.cpp.

Member Function Documentation

◆ write()

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

Implements pugi::xml_writer.

Definition at line 5061 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

Definition at line 338 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

Definition at line 339 of file pugixml.hpp.

Referenced by write().

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