summaryrefslogtreecommitdiff
path: root/src/xmlstringwriter.cpp
blob: adeed6acd190a75cccc87051476c12fdcee72b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <stdio.h>
#include <stdlib.h>
#include "xmlstringwriter.h"

XmlStringWriter::XmlStringWriter( const char *sIndent ) :
	XmlWriter( sIndent )
{
}

XmlStringWriter::~XmlStringWriter()
{
}

void XmlStringWriter::writeString( const char *sString )
{
	sXml += sString;
}

std::string &XmlStringWriter::getString()
{
	return sXml;
}