41 lines
664 B
C++
41 lines
664 B
C++
|
#ifndef LPDATA_HPP_
|
||
|
#define LPDATA_HPP_
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include "xercesc/dom/DOMElement.hpp"
|
||
|
#include "xml/XMLWriter.hpp"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class LPLaunch
|
||
|
{
|
||
|
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);
|
||
|
private:
|
||
|
string phase;
|
||
|
string status;
|
||
|
};
|
||
|
|
||
|
inline const string LPLaunch::getPhase() const
|
||
|
{
|
||
|
return phase;
|
||
|
}
|
||
|
inline const string LPLaunch::getStatus() const
|
||
|
{
|
||
|
return status;
|
||
|
}
|
||
|
|
||
|
#endif /* LPDATA_HPP_ */
|