/* * $Id: XMLUtils_testNodeName.cpp 88 2008-12-10 18:31:39Z rosiere $ * * [ Description ] * */ #include "Behavioural/Configuration/include/XMLUtils.h" namespace morpheo { namespace behavioural { namespace configuration { #undef FUNCTION #define FUNCTION "testNodeName" void testNodeName (XML_t * xml, std::string name) { if (xml->getName() != name) throw ERRORMORPHEO(FUNCTION,toString(_("Syntax error, node is \"%s\", but must be \"%s\"\n"),xml->getName().c_str(),name.c_str())); } }; // end namespace configuration }; // end namespace behavioural }; // end namespace morpheo