54 "filename", &
filename,
"XML file to parse" );
65 out <<
"Parsed XML object: \n" << obj.
toString() << std::endl;
67 catch (std::runtime_error &
err) {
69 out <<
"XML Parser caught exception:\n" <<
err.what() <<
"\n";
#define TEST_EQUALITY_CONST(v1, v2)
Assert the equality of v1 and constant v2.
#define TEUCHOS_UNIT_TEST(TEST_GROUP, TEST_NAME)
Macro for defining a (non-templated) unit test.
A class providing a simple XML parser. Methods can be overloaded to exploit external XML parsing libr...
Concrete serial communicator subclass.
static CommandLineProcessor & getCLP()
Return the CLP to add options to.
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object,...
std::string toString() const
Represent this node and its children as a std::string.
XMLParser consumes characters from an XMLInputStream object, parsing the XML and using a TreeBuilding...