#include "xml/XMLDocument.hpp" #include "se/Response.hpp" #include "se/ResponseExtension.hpp" #include "se/LPE/LPChkRespExtension.hpp" #include #include extern mdLogger mdLog; /* * Have to use static funcion instead of static variable * since there is not guarantee about the construct/destruct * order of a static instance of any types */ const std::string LPChkRespExtension::CKCLAIM_EXPR() { return EXTENSION_EXPR() + "/launch:cd/launch:name"; } LPChkRespExtension::LPChkRespExtension() : typeIsClaims(true) { } void LPChkRespExtension::fromXML(XMLDocument *xmlDoc) { const std::string respElement = CKCLAIM_EXPR(); try { const XalanNode * response = xmlDoc->getElement(respElement); if (response) { } } catch(std::exception e) { mdLog.logN(1,"%s.",e.what()); } }