MezzanineEngine March 18, 2012

Mezzanine::xml::WriterStream Class Reference

An implementation of Writer intended for writing std::ostreams. More...

#include <xmldoc.h>

Inheritance diagram for Mezzanine::xml::WriterStream:
Mezzanine::xml::Writer

List of all members.

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.

Detailed Description

An implementation of Writer intended for writing std::ostreams.

Definition at line 323 of file xml.h.


Constructor & Destructor Documentation

Mezzanine::xml::WriterStream::WriterStream ( std::basic_ostream< char, std::char_traits< char > > &  stream)

A constructor that accepts a stream of characters.

Parameters:
streamA 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:
streamA stream to send stuff to.

Member Function Documentation

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.

Parameters:
dataThis is a pointer to something that will get written to the output
sizeThe size in bytes of whatever was passed in.

Implements Mezzanine::xml::Writer.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines