This represents a simple wrapper that makes data streams compatible with the XML API. More...
#include <writer.h>
Public Member Functions | |
XMLStreamWrapper (Resource::DataStream *Stream) | |
Class constructor. More... | |
virtual | ~XMLStreamWrapper () |
Class destructor. | |
void | Write (const void *data, size_t size) |
Writes data to the stream. More... | |
Public Member Functions inherited from Mezzanine::XML::Writer | |
virtual | ~Writer () |
Safe to dervied doconstructor. | |
Protected Attributes | |
Resource::DataStream * | WrappedStream |
This is the stream that will be used for output. | |
This represents a simple wrapper that makes data streams compatible with the XML API.
|
inline |
|
inlinevirtual |
Writes data to the stream.
data | The data to be written. |
size | The number of bytes to be written. |
Implements Mezzanine::XML::Writer.