#include <Writer.h>
|
std::string | getContent () override |
| Gets the XML content in a std::string format.
|
|
std::string | getURI () |
|
void | setRootNamespaceURI (const std::string &uri) |
|
void | setURI (const std::string &uri) |
|
void | writeAttribute (const std::string &attName, boost::int32_t value) |
|
void | writeAttribute (const std::string &attName, boost::int64_t value) |
|
void | writeAttribute (const std::string &attName, boost::uint32_t value) |
|
void | writeAttribute (const std::string &attName, boost::uint64_t value) |
|
void | writeAttribute (const std::string &attName, const double &value) |
|
void | writeAttribute (const std::string &attName, const std::string &value) |
|
void | writeElement (const std::string &qName, boost::int32_t value) |
|
void | writeElement (const std::string &qName, boost::int64_t value) |
|
void | writeElement (const std::string &qName, boost::uint32_t value) |
|
void | writeElement (const std::string &qName, boost::uint64_t value) |
|
void | writeElement (const std::string &qName, const double &value) |
|
void | writeElement (const std::string &qName, const std::string &value) |
|
void | writeEndElement (const std::string &qName) |
|
| Writer () |
| Default constructor.
|
|
void | writeStartDocument (const std::string &encoding, const std::string &standalone) |
|
void | writeStartElement (const std::string &qName) |
|
void | writeToFile () |
|
void | writeValue (boost::int32_t value) |
|
void | writeValue (boost::int64_t value) |
|
void | writeValue (boost::uint32_t value) |
|
void | writeValue (boost::uint64_t value) |
|
void | writeValue (const double &value) |
|
void | writeValue (const std::string &value) |
|
| ~Writer () |
| Destructor.
|
|
|
void | addText (const std::string &qValue) |
| Adds a XML value to the last inserted element.
|
|
|
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * | m_doc |
| DOM element - document.
|
|
std::vector< XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * > | m_elementSet |
| Vector that contains all the elements (nodes).
|
|
std::string | m_encoding |
|
XERCES_CPP_NAMESPACE_QUALIFIER DOMImplementation * | m_impl |
| DOM element - implementation.
|
|
std::size_t | m_indice |
| Index to build the ElementSet vector.
|
|
bool | m_standalone |
|
std::vector< std::string > | m_topElementNamesSet |
| This vector gives the parent node of each element.
|
|
std::vector< std::size_t > | m_topElementSet |
| This vector gives the parent node of each element.
|
|
std::size_t | m_topIndice |
| Index of the parent node.
|
|
std::unique_ptr< xercesc::XMLTranscoder > | m_transcoder |
| The transcoder to be used. TerraLib always expect the encoding to be UTF-8, so we must force it.
|
|
Definition at line 60 of file Writer.h.
◆ Writer()
te::xerces::Writer::Writer |
( |
| ) |
|
◆ ~Writer()
te::xerces::Writer::~Writer |
( |
| ) |
|
◆ addText()
void te::xerces::Writer::addText |
( |
const std::string & |
qValue | ) |
|
|
private |
Adds a XML value to the last inserted element.
- Parameters
-
value | Element value. (Input) |
◆ getContent()
std::string te::xerces::Writer::getContent |
( |
| ) |
|
|
overridevirtual |
◆ getURI()
std::string te::xml::AbstractWriter::getURI |
( |
| ) |
|
|
inherited |
◆ setRootNamespaceURI()
void te::xerces::Writer::setRootNamespaceURI |
( |
const std::string & |
uri | ) |
|
◆ setURI()
void te::xml::AbstractWriter::setURI |
( |
const std::string & |
uri | ) |
|
|
inherited |
◆ writeAttribute() [1/6]
void te::xerces::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
boost::int32_t |
value |
|
) |
| |
|
virtual |
◆ writeAttribute() [2/6]
void te::xerces::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
boost::int64_t |
value |
|
) |
| |
|
virtual |
◆ writeAttribute() [3/6]
void te::xerces::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
boost::uint32_t |
value |
|
) |
| |
|
virtual |
◆ writeAttribute() [4/6]
void te::xerces::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
boost::uint64_t |
value |
|
) |
| |
|
virtual |
◆ writeAttribute() [5/6]
void te::xerces::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
const double & |
value |
|
) |
| |
|
virtual |
◆ writeAttribute() [6/6]
void te::xerces::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
const std::string & |
value |
|
) |
| |
|
virtual |
◆ writeElement() [1/6]
void te::xerces::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
boost::int32_t |
value |
|
) |
| |
|
virtual |
◆ writeElement() [2/6]
void te::xerces::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
boost::int64_t |
value |
|
) |
| |
|
virtual |
◆ writeElement() [3/6]
void te::xerces::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
boost::uint32_t |
value |
|
) |
| |
|
virtual |
◆ writeElement() [4/6]
void te::xerces::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
boost::uint64_t |
value |
|
) |
| |
|
virtual |
◆ writeElement() [5/6]
void te::xerces::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
const double & |
value |
|
) |
| |
|
virtual |
◆ writeElement() [6/6]
void te::xerces::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
const std::string & |
value |
|
) |
| |
|
virtual |
◆ writeEndElement()
void te::xerces::Writer::writeEndElement |
( |
const std::string & |
qName | ) |
|
|
virtual |
◆ writeStartDocument()
void te::xerces::Writer::writeStartDocument |
( |
const std::string & |
encoding, |
|
|
const std::string & |
standalone |
|
) |
| |
|
virtual |
◆ writeStartElement()
void te::xerces::Writer::writeStartElement |
( |
const std::string & |
qName | ) |
|
|
virtual |
◆ writeToFile()
void te::xerces::Writer::writeToFile |
( |
| ) |
|
|
virtual |
◆ writeValue() [1/6]
void te::xerces::Writer::writeValue |
( |
boost::int32_t |
value | ) |
|
|
virtual |
◆ writeValue() [2/6]
void te::xerces::Writer::writeValue |
( |
boost::int64_t |
value | ) |
|
|
virtual |
◆ writeValue() [3/6]
void te::xerces::Writer::writeValue |
( |
boost::uint32_t |
value | ) |
|
|
virtual |
◆ writeValue() [4/6]
void te::xerces::Writer::writeValue |
( |
boost::uint64_t |
value | ) |
|
|
virtual |
◆ writeValue() [5/6]
void te::xerces::Writer::writeValue |
( |
const double & |
value | ) |
|
|
virtual |
◆ writeValue() [6/6]
void te::xerces::Writer::writeValue |
( |
const std::string & |
value | ) |
|
|
virtual |
◆ m_doc
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument* te::xerces::Writer::m_doc |
|
private |
DOM element - document.
Definition at line 130 of file Writer.h.
◆ m_elementSet
std::vector<XERCES_CPP_NAMESPACE_QUALIFIER DOMElement*> te::xerces::Writer::m_elementSet |
|
private |
Vector that contains all the elements (nodes).
Definition at line 132 of file Writer.h.
◆ m_encoding
std::string te::xerces::Writer::m_encoding |
|
private |
◆ m_impl
XERCES_CPP_NAMESPACE_QUALIFIER DOMImplementation* te::xerces::Writer::m_impl |
|
private |
DOM element - implementation.
Definition at line 129 of file Writer.h.
◆ m_indice
std::size_t te::xerces::Writer::m_indice |
|
private |
Index to build the ElementSet vector.
Definition at line 134 of file Writer.h.
◆ m_rootNamespaceUri
std::string te::xml::AbstractWriter::m_rootNamespaceUri |
|
protectedinherited |
◆ m_standalone
bool te::xerces::Writer::m_standalone |
|
private |
◆ m_topElementNamesSet
std::vector<std::string> te::xerces::Writer::m_topElementNamesSet |
|
private |
This vector gives the parent node of each element.
Definition at line 138 of file Writer.h.
◆ m_topElementSet
std::vector<std::size_t> te::xerces::Writer::m_topElementSet |
|
private |
This vector gives the parent node of each element.
Definition at line 137 of file Writer.h.
◆ m_topIndice
std::size_t te::xerces::Writer::m_topIndice |
|
private |
Index of the parent node.
Definition at line 135 of file Writer.h.
◆ m_transcoder
std::unique_ptr<xercesc::XMLTranscoder> te::xerces::Writer::m_transcoder |
|
private |
The transcoder to be used. TerraLib always expect the encoding to be UTF-8, so we must force it.
Definition at line 142 of file Writer.h.
◆ m_uri
std::string te::xml::AbstractWriter::m_uri |
|
protectedinherited |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/xerces/Writer.h