An implementation of Writer intended for writing std::ostreams.
More...
#include <writer.h>
|
| WriterStream (std::basic_ostream< char, std::char_traits< char > > &stream) |
| A constructor that accepts a stream of characters. More...
|
|
| WriterStream (std::basic_ostream< wchar_t, std::char_traits< wchar_t > > &stream) |
| A constructor that accepts a stream of wide characters. More...
|
|
virtual void | Write (const void *data, size_t size) |
| Actually issues the write commands. More...
|
|
virtual | ~Writer () |
| Safe to dervied doconstructor.
|
|
An implementation of Writer intended for writing std::ostreams.
Definition at line 117 of file writer.h.
Mezzanine::XML::WriterStream::WriterStream |
( |
std::basic_ostream< char, std::char_traits< char > > & |
stream) | |
|
A constructor that accepts a stream of characters.
- Parameters
-
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.
- Parameters
-
stream | A stream to send stuff to. |
virtual void Mezzanine::XML::WriterStream::Write |
( |
const void * |
data, |
|
|
size_t |
size |
|
) |
| |
|
virtual |
Actually issues the write commands.
- Parameters
-
data | A pointer to the data to write, this will assume the pointer is valid and cast it. |
size | How much to write from the pointer data, pointer. |
Implements Mezzanine::XML::Writer.
The documentation for this class was generated from the following file:
- /home/sqeaky/Code/Mezzanine/Mezzanine/src/XML/writer.h