XdmfVisitor.cpp 359 Bytes
Newer Older
1
2
3
// Kenneth Leiter
// Xdmf Smart Pointer Test

4
#include "XdmfItem.hpp"
5
6
7
8
9
10
11
12
13
14
#include "XdmfVisitor.hpp"

XdmfVisitor::XdmfVisitor()
{
}

XdmfVisitor::~XdmfVisitor()
{
}

15
16
17
18
19
void XdmfVisitor::visit(const XdmfItem * const item)
{
	xmlData << item->printSelf();
}

20
21
const std::string XdmfVisitor::printSelf() const
{
22
	return "XdmfVisitor:\n\tContents: " + xmlData.str();
23
}