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-23 21:06:09 +00:00
|
|
|
#include "se/Extension.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() :
|
|
|
|
phase(""),
|
|
|
|
status(")")
|
|
|
|
{}
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
std::string& getURI() const;
|
|
|
|
std::string& getSchemaLocation() const;
|
|
|
|
|
2014-01-23 02:59:22 +00:00
|
|
|
private:
|
|
|
|
string phase;
|
|
|
|
string status;
|
|
|
|
};
|
|
|
|
|
|
|
|
inline const string LPLaunch::getPhase() const
|
|
|
|
{
|
|
|
|
return phase;
|
|
|
|
}
|
|
|
|
inline const string LPLaunch::getStatus() const
|
|
|
|
{
|
|
|
|
return status;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* LPDATA_HPP_ */
|