2014-01-23 02:59:22 +00:00
|
|
|
#ifndef LPDATA_HPP_
|
|
|
|
#define LPDATA_HPP_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "xercesc/dom/DOMElement.hpp"
|
|
|
|
#include "xml/XMLWriter.hpp"
|
2014-01-24 16:38:51 +00:00
|
|
|
#include "se/LPE/LPExtension.hpp"
|
2014-01-23 02:59:22 +00:00
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2014-01-23 21:06:09 +00:00
|
|
|
class LPLaunch : public Extension
|
2014-01-23 02:59:22 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
LPLaunch() :
|
2014-01-24 16:38:51 +00:00
|
|
|
claims("claims"),
|
|
|
|
phase("sunrise"),
|
|
|
|
status("available")
|
2014-01-23 02:59:22 +00:00
|
|
|
{}
|
|
|
|
|
|
|
|
virtual ~LPLaunch() {}
|
|
|
|
|
|
|
|
const string getPhase() const;
|
|
|
|
const string getStatus() const;
|
|
|
|
|
|
|
|
void appendData(XMLWriter* xmlWriter, DOMElement* addElement);
|
|
|
|
void createXMLElement(XMLWriter* xmlWriter, DOMElement* addElement);
|
2014-01-23 21:06:09 +00:00
|
|
|
|
|
|
|
|
2014-01-23 02:59:22 +00:00
|
|
|
private:
|
2014-01-24 16:38:51 +00:00
|
|
|
string claims;
|
2014-01-23 02:59:22 +00:00
|
|
|
string phase;
|
|
|
|
string status;
|
|
|
|
};
|
|
|
|
|
|
|
|
inline const string LPLaunch::getPhase() const
|
|
|
|
{
|
|
|
|
return phase;
|
|
|
|
}
|
|
|
|
inline const string LPLaunch::getStatus() const
|
|
|
|
{
|
|
|
|
return status;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* LPDATA_HPP_ */
|