2#ifndef ABSTRACTXMLWRITER_H
3#define ABSTRACTXMLWRITER_H 1
23 virtual void openTag(std::string
ns, std::string name) = 0;
24 virtual void printTag(std::string
ns, std::string name) = 0;
25 virtual void setAttribute(std::string
ns, std::string name, std::string value) = 0;
26 virtual void setAttribute(std::string
ns, std::string name,
double value) = 0;
29 virtual void openDoc(std::string version =
"1.0", std::string
encoding =
"",
bool standalone =
false) = 0;
31 virtual void openTag(std::string name) = 0;
35 virtual void setAttribute(std::string name, std::string value) = 0;
36 virtual void setAttribute(std::string name, std::vector<double> value) = 0;
virtual void printTag(std::string ns, std::string name)=0
virtual void setAttribute(std::string name, int64 value)=0
virtual void setAttribute(std::string name, char *value)=0
virtual void setAttribute(std::string ns, std::string name, std::string value)=0
virtual void openTag(std::string ns, std::string name)=0
virtual void setAttribute(std::string name, std::string value)=0
virtual ~AbstractXMLWriter()
virtual void printTag(std::string name)=0
virtual void closeTag()=0
virtual void setAttribute(std::string name, double value)=0
virtual void setAttribute(std::string name, std::vector< double > value)=0
virtual void openTag(std::string name)=0
virtual void setAttribute(std::string name, int value)=0
virtual void setAttribute(std::string ns, std::string name, double value)=0
std::string defaultNameSpace
AbstractXMLWriter(std::string aDefaultNameSpace)
virtual void openDoc(std::string version="1.0", std::string encoding="", bool standalone=false)=0
virtual void closeDoc(bool force=false)=0
virtual void setAttribute(std::string name, bool value)=0