An implementation of Writer intended for writing std::ostreams. More...
#include <xmldoc.h>
Public Member Functions | |
| WriterStream (std::basic_ostream< char, std::char_traits< char > > &stream) | |
| A constructor that accepts a stream of characters. | |
| WriterStream (std::basic_ostream< wchar_t, std::char_traits< wchar_t > > &stream) | |
| A constructor that accepts a stream of wide characters. | |
| virtual void | Write (const void *data, size_t size) |
| This will be used to output xml to an external source such as a file or stream. | |
An implementation of Writer intended for writing std::ostreams.
| Mezzanine::xml::WriterStream::WriterStream | ( | std::basic_ostream< char, std::char_traits< char > > & | stream | ) |
A constructor that accepts a stream of characters.
| stream | A stream to send stuff to. |
| Mezzanine::xml::WriterStream::WriterStream | ( | std::basic_ostream< wchar_t, std::char_traits< wchar_t > > & | stream | ) |
A constructor that accepts a stream of wide characters.
| stream | A stream to send stuff to. |
| virtual void Mezzanine::xml::WriterStream::Write | ( | const void * | data, |
| size_t | size | ||
| ) | [virtual] |
This will be used to output xml to an external source such as a file or stream.
| data | This is a pointer to something that will get written to the output |
| size | The size in bytes of whatever was passed in. |
Implements Mezzanine::xml::Writer.
1.7.3