26 #ifndef __TERRALIB_XML_INTERNAL_WRITER_H 27 #define __TERRALIB_XML_INTERNAL_WRITER_H 30 #include "../common/Holder.h" 39 #include <boost/cstdint.hpp> 40 #include <boost/noncopyable.hpp> 65 void writeStartDocument(
const std::string& encoding,
const std::string& standalone);
67 void writeStartElement(
const std::string& qName);
69 void writeElement(
const std::string& qName,
const std::string& value);
71 void writeElement(
const std::string& qName,
const double& value);
73 void writeElement(
const std::string& qName, boost::int32_t value);
75 void writeElement(
const std::string& qName, boost::uint32_t value);
77 void writeElement(
const std::string& qName, boost::int64_t value);
79 void writeElement(
const std::string& qName, boost::uint64_t value);
81 void writeAttribute(
const std::string& attName,
const std::string& value);
83 void writeAttribute(
const std::string& attName,
const double& value);
85 void writeAttribute(
const std::string& attName, boost::int32_t value);
87 void writeAttribute(
const std::string& attName, boost::uint32_t value);
89 void writeAttribute(
const std::string& attName, boost::int64_t value);
91 void writeAttribute(
const std::string& attName, boost::uint64_t value);
93 void writeValue(
const std::string& value);
95 void writeValue(
const double& value);
97 void writeValue(boost::int32_t value);
99 void writeValue(boost::uint32_t value);
101 void writeValue(boost::int64_t value);
103 void writeValue(boost::uint64_t value);
105 void writeEndElement(
const std::string& qName);
107 void setRootNamespaceURI(
const std::string& uri);
111 std::string getContent()
override;
122 #endif // __TERRALIB_XML_INTERNAL_WRITER_H
This class models a XML writer object.
This class models a XML writer object.
Configuration flags for the XML API of TerraLib.
This class models a XML writer object.
#define TEXMLEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::ostringstream * m_ostr