#include <Writer.h>
Public Member Functions | |
| void | setRootNamespaceURI (const std::string &uri) |
| void | setURI (const std::string &uri) |
| void | writeAttribute (const std::string &attName, const std::string &value) |
| void | writeAttribute (const std::string &attName, const double &value) |
| void | writeAttribute (const std::string &attName, boost::int32_t value) |
| void | writeAttribute (const std::string &attName, boost::uint32_t value) |
| void | writeAttribute (const std::string &attName, boost::int64_t value) |
| void | writeAttribute (const std::string &attName, boost::uint64_t value) |
| void | writeElement (const std::string &qName, const std::string &value) |
| void | writeElement (const std::string &qName, const double &value) |
| void | writeElement (const std::string &qName, boost::int32_t value) |
| void | writeElement (const std::string &qName, boost::uint32_t value) |
| void | writeElement (const std::string &qName, boost::int64_t value) |
| void | writeElement (const std::string &qName, boost::uint64_t value) |
| void | writeEndElement (const std::string &qName) |
| Writer () | |
| Default constructor. More... | |
| void | writeStartDocument (const std::string &encoding, const std::string &standalone) |
| void | writeStartElement (const std::string &qName) |
| void | writeToFile () |
| void | writeValue (const std::string &value) |
| void | writeValue (const double &value) |
| void | writeValue (boost::int32_t value) |
| void | writeValue (boost::uint32_t value) |
| void | writeValue (boost::int64_t value) |
| void | writeValue (boost::uint64_t value) |
| ~Writer () | |
| Destructor. More... | |
Protected Attributes | |
| std::string | m_rootNamespaceUri |
| std::string | m_uri |
Private Member Functions | |
| void | addText (const std::string &qValue) |
| Adds a XML value to the last inserted element. More... | |
Private Attributes | |
| XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * | m_doc |
| DOM element - document. More... | |
| std::vector< XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * > | m_elementSet |
| Vector that contains all the elements (nodes). More... | |
| std::string | m_encoding |
| XERCES_CPP_NAMESPACE_QUALIFIER DOMImplementation * | m_impl |
| DOM element - implementation. More... | |
| std::size_t | m_indice |
| Index to build the ElementSet vector. More... | |
| bool | m_standalone |
| std::vector< std::string > | m_topElementNamesSet |
| This vector gives the parent node of each element. More... | |
| std::vector< std::size_t > | m_topElementSet |
| This vector gives the parent node of each element. More... | |
| std::size_t | m_topIndice |
| Index of the parent node. More... | |
Definition at line 58 of file xerces/Writer.h.
| te::xerces::Writer::Writer | ( | ) |
Default constructor.
Definition at line 57 of file xerces/Writer.cpp.
| te::xerces::Writer::~Writer | ( | ) |
|
private |
Adds a XML value to the last inserted element.
| value | Element value. (Input) |
Definition at line 327 of file xerces/Writer.cpp.
References m_doc, m_elementSet, m_indice, and TE_TR.
Referenced by writeElement(), and writeValue().
| void te::xerces::Writer::setRootNamespaceURI | ( | const std::string & | uri | ) |
|
inherited |
Definition at line 40 of file AbstractWriter.cpp.
References te::xml::AbstractWriter::m_uri.
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 251 of file xerces/Writer.cpp.
References m_elementSet, m_topIndice, and TE_TR.
Referenced by writeAttribute().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 267 of file xerces/Writer.cpp.
References writeAttribute().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 272 of file xerces/Writer.cpp.
References writeAttribute().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 277 of file xerces/Writer.cpp.
References writeAttribute().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 282 of file xerces/Writer.cpp.
References writeAttribute().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 287 of file xerces/Writer.cpp.
References writeAttribute().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 202 of file xerces/Writer.cpp.
References addText(), m_doc, m_elementSet, m_indice, m_topElementSet, m_topIndice, and TE_TR.
Referenced by writeElement().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 226 of file xerces/Writer.cpp.
References writeElement().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 231 of file xerces/Writer.cpp.
References writeElement().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 236 of file xerces/Writer.cpp.
References writeElement().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 241 of file xerces/Writer.cpp.
References writeElement().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 246 of file xerces/Writer.cpp.
References writeElement().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 322 of file xerces/Writer.cpp.
References m_topElementSet, and m_topIndice.
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 74 of file xerces/Writer.cpp.
References te::common::Convert2UCase(), m_encoding, and m_standalone.
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 142 of file xerces/Writer.cpp.
References m_doc, m_elementSet, m_impl, m_indice, te::xml::AbstractWriter::m_rootNamespaceUri, m_standalone, m_topElementSet, m_topIndice, and TE_TR.
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 80 of file xerces/Writer.cpp.
References te::core::CharEncoding::fromUTF8(), m_doc, m_impl, te::xml::AbstractWriter::m_uri, and TE_TR.
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 292 of file xerces/Writer.cpp.
References addText().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 297 of file xerces/Writer.cpp.
References addText().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 302 of file xerces/Writer.cpp.
References addText().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 307 of file xerces/Writer.cpp.
References addText().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 312 of file xerces/Writer.cpp.
References addText().
|
virtual |
Implements te::xml::AbstractWriter.
Definition at line 317 of file xerces/Writer.cpp.
References addText().
|
private |
DOM element - document.
Definition at line 126 of file xerces/Writer.h.
Referenced by addText(), writeElement(), writeStartElement(), writeToFile(), and ~Writer().
|
private |
Vector that contains all the elements (nodes).
Definition at line 128 of file xerces/Writer.h.
Referenced by addText(), writeAttribute(), writeElement(), and writeStartElement().
|
private |
Definition at line 136 of file xerces/Writer.h.
Referenced by writeStartDocument().
|
private |
DOM element - implementation.
Definition at line 125 of file xerces/Writer.h.
Referenced by writeStartElement(), and writeToFile().
|
private |
Index to build the ElementSet vector.
Definition at line 130 of file xerces/Writer.h.
Referenced by addText(), writeElement(), and writeStartElement().
|
protectedinherited |
Definition at line 110 of file AbstractWriter.h.
Referenced by te::xml::AbstractWriter::setRootNamespaceURI(), and writeStartElement().
|
private |
Definition at line 137 of file xerces/Writer.h.
Referenced by writeStartDocument(), and writeStartElement().
|
private |
This vector gives the parent node of each element.
Definition at line 134 of file xerces/Writer.h.
|
private |
This vector gives the parent node of each element.
Definition at line 133 of file xerces/Writer.h.
Referenced by writeElement(), writeEndElement(), and writeStartElement().
|
private |
Index of the parent node.
Definition at line 131 of file xerces/Writer.h.
Referenced by writeAttribute(), writeElement(), writeEndElement(), and writeStartElement().
|
protectedinherited |
Definition at line 109 of file AbstractWriter.h.
Referenced by te::xml::AbstractWriter::setURI(), and writeToFile().