return static_cast<xmlNodePtr>(theNode);
}
-/*
- * Returns named property for a given node as std::string.
- */
-std::string Config_XMLReader::getProperty(xmlNodePtr theNode, const char* theName)
+std::string Config_XMLReader::getNodeName(xmlNodePtr theNode)
{
std::string result = "";
- char* aPropChars = (char*) xmlGetProp(theNode, BAD_CAST theName);
+ char* aPropChars = (char*) theNode->name;
if (!aPropChars || aPropChars[0] == 0)
return result;
result = std::string(aPropChars);
{
Events_ID aValidatoEvent = Events_Loop::eventByName(EVENT_VALIDATOR_LOADED);
Events_Loop* aEvLoop = Events_Loop::loop();
- boost::shared_ptr<Config_ValidatorMessage>
+ std::shared_ptr<Config_ValidatorMessage>
aMessage(new Config_ValidatorMessage(aValidatoEvent, this));
std::string aValidatorId;
std::list<std::string> aValidatorParameters;