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

4
#include "XdmfItem.hpp"
5 6
#include "XdmfVisitor.hpp"

7
XdmfVisitor::XdmfVisitor()
8 9 10 11 12
{
}

XdmfVisitor::~XdmfVisitor()
{
13 14
}

15
void XdmfVisitor::visit(XdmfItem & item, boost::shared_ptr<XdmfBaseVisitor> visitor)
16
{
17 18
	std::cout << "Writing in base" << std::endl;
	item.traverse(visitor);
19
}