1 #include "GenotypeString.hpp"
2 
3 using namespace Beagle;
4 using namespace Test;
5 using namespace std;
6 
setData(const string & inData)7 void GenotypeString::setData(const string& inData)
8 {
9   mData = inData;
10 }
11 
write(PACC::XML::Streamer & ioStreamer,bool inIndent) const12 void GenotypeString::write(PACC::XML::Streamer& ioStreamer, bool inIndent) const
13 {
14   ioStreamer.openTag("Genotype", inIndent);
15   ioStreamer.insertAttribute("type","string");
16   ioStreamer.insertStringContent(mData.c_str());
17   ioStreamer.closeTag();
18 }
19