#ifndef LPDATA_HPP_ #define LPDATA_HPP_ #include #include "xercesc/dom/DOMElement.hpp" #include "xml/XMLWriter.hpp" #include "se/LPE/LPExtension.hpp" using namespace std; class LPLaunch : public Extension { public: LPLaunch() : claims("claims"), phase("sunrise"), status("available") {} virtual ~LPLaunch() {} const string getPhase() const; const string getStatus() const; void appendData(XMLWriter* xmlWriter, DOMElement* addElement); void createXMLElement(XMLWriter* xmlWriter, DOMElement* addElement); private: string claims; string phase; string status; }; inline const string LPLaunch::getPhase() const { return phase; } inline const string LPLaunch::getStatus() const { return status; } #endif /* LPDATA_HPP_ */