#include #include "LPLaunch.hpp" #include "LPRespExtender.hpp" using namespace std; void LPRespExtender::fromXML(XMLDocument *xmlDoc) { infData.reset(new LPLaunch); // if (xmlDoc->getNodeCount("count(" + MAXSIGLIFE_EXPR() + ")") > 0) // { // int maxSigLifeInt = getInt(xmlDoc->getNodeValue(MAXSIGLIFE_EXPR())); // auto_ptr maxSigLife(new SecDNSMaxSigLifeType(maxSigLifeInt));// // infData->setMaxSigLife(maxSigLife.release()); // } // int secDnsCount = getResponseDSData(xmlDoc); // initialised = (secDnsCount > 0) && (infData->getDSDataListSize() == secDnsCount); if (!initialised) { // secDnsCount = getResponseKeyData(xmlDoc); //initialised = (secDnsCount > 0) && (infData->getKeyDataListSize() == secDnsCount); } } bool LPRespExtender::isInitialised() const {return initialised;}