TestXdmfVisitor.cpp 328 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include "XdmfTopology.hpp"
#include "XdmfVisitor.hpp"

int main(int argc, char* argv[])
{
	// Test != and == operators
	boost::shared_ptr<XdmfVisitor> visitor = XdmfVisitor::New();
	boost::shared_ptr<XdmfTopology> top = XdmfTopology::New();

	top->write(visitor);
	std::cout << visitor->printSelf() << std::endl;

	return 0;
}