An implementation of Writer intended for writing to FILEs as defined in stdio. More...
#include <xmldoc.h>
Public Member Functions | |
| WriterFile (void *file) | |
| Construct a Writer from a FILE* object. | |
| 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 to FILEs as defined in stdio.
| Mezzanine::xml::WriterFile::WriterFile | ( | void * | file | ) |
Construct a Writer from a FILE* object.
| file | The FILE to be written to. The FILE can be a File handle as per stdio or the standard input, output or even error. The use of void* was intended to avoid a depedency on the stdio header, in the original PugiXML. After a review for compatibility this may change to promote better type safety. |
| virtual void Mezzanine::xml::WriterFile::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