This class models a XML writer object.
More...
#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 () |
|
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 () |
| Constructor.
|
|
This class models a XML writer object.
Definition at line 53 of file Writer.h.
◆ Writer()
te::xml::Writer::Writer |
( |
| ) |
|
◆ ~Writer()
te::xml::Writer::~Writer |
( |
| ) |
|
Constructor.
Virtual destructor.
◆ getContent()
std::string te::xml::Writer::getContent |
( |
| ) |
|
|
overridevirtual |
◆ getURI()
std::string te::xml::AbstractWriter::getURI |
( |
| ) |
|
|
inherited |
◆ setRootNamespaceURI()
void te::xml::Writer::setRootNamespaceURI |
( |
const std::string & |
uri | ) |
|
◆ setURI()
void te::xml::AbstractWriter::setURI |
( |
const std::string & |
uri | ) |
|
|
inherited |
◆ writeAttribute() [1/6]
void te::xml::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
boost::int32_t |
value |
|
) |
| |
|
virtual |
◆ writeAttribute() [2/6]
void te::xml::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
boost::int64_t |
value |
|
) |
| |
|
virtual |
◆ writeAttribute() [3/6]
void te::xml::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
boost::uint32_t |
value |
|
) |
| |
|
virtual |
◆ writeAttribute() [4/6]
void te::xml::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
boost::uint64_t |
value |
|
) |
| |
|
virtual |
◆ writeAttribute() [5/6]
void te::xml::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
const double & |
value |
|
) |
| |
|
virtual |
◆ writeAttribute() [6/6]
void te::xml::Writer::writeAttribute |
( |
const std::string & |
attName, |
|
|
const std::string & |
value |
|
) |
| |
|
virtual |
◆ writeElement() [1/6]
void te::xml::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
boost::int32_t |
value |
|
) |
| |
|
virtual |
◆ writeElement() [2/6]
void te::xml::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
boost::int64_t |
value |
|
) |
| |
|
virtual |
◆ writeElement() [3/6]
void te::xml::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
boost::uint32_t |
value |
|
) |
| |
|
virtual |
◆ writeElement() [4/6]
void te::xml::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
boost::uint64_t |
value |
|
) |
| |
|
virtual |
◆ writeElement() [5/6]
void te::xml::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
const double & |
value |
|
) |
| |
|
virtual |
◆ writeElement() [6/6]
void te::xml::Writer::writeElement |
( |
const std::string & |
qName, |
|
|
const std::string & |
value |
|
) |
| |
|
virtual |
◆ writeEndElement()
void te::xml::Writer::writeEndElement |
( |
const std::string & |
qName | ) |
|
|
virtual |
◆ writeStartDocument()
void te::xml::Writer::writeStartDocument |
( |
const std::string & |
encoding, |
|
|
const std::string & |
standalone |
|
) |
| |
|
virtual |
◆ writeStartElement()
void te::xml::Writer::writeStartElement |
( |
const std::string & |
qName | ) |
|
|
virtual |
◆ writeToFile()
void te::xml::Writer::writeToFile |
( |
| ) |
|
|
virtual |
◆ writeValue() [1/6]
void te::xml::Writer::writeValue |
( |
boost::int32_t |
value | ) |
|
|
virtual |
◆ writeValue() [2/6]
void te::xml::Writer::writeValue |
( |
boost::int64_t |
value | ) |
|
|
virtual |
◆ writeValue() [3/6]
void te::xml::Writer::writeValue |
( |
boost::uint32_t |
value | ) |
|
|
virtual |
◆ writeValue() [4/6]
void te::xml::Writer::writeValue |
( |
boost::uint64_t |
value | ) |
|
|
virtual |
◆ writeValue() [5/6]
void te::xml::Writer::writeValue |
( |
const double & |
value | ) |
|
|
virtual |
◆ writeValue() [6/6]
void te::xml::Writer::writeValue |
( |
const std::string & |
value | ) |
|
|
virtual |
◆ m_isOpened
bool te::xml::Writer::m_isOpened |
|
private |
◆ m_ostr
std::ostringstream* te::xml::Writer::m_ostr |
|
private |
◆ m_rootNamespaceUri
std::string te::xml::AbstractWriter::m_rootNamespaceUri |
|
protectedinherited |
◆ 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/xml/Writer.h