te::xerces::Writer Class Reference

#include <Writer.h>

Inheritance diagram for te::xerces::Writer:
te::xml::AbstractWriter

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...
 

Detailed Description

Definition at line 58 of file Writer.h.

Constructor & Destructor Documentation

te::xerces::Writer::Writer ( )

Default constructor.

te::xerces::Writer::~Writer ( )

Destructor.

Member Function Documentation

void te::xerces::Writer::addText ( const std::string &  qValue)
private

Adds a XML value to the last inserted element.

Parameters
valueElement value. (Input)
void te::xerces::Writer::setRootNamespaceURI ( const std::string &  uri)
void te::xml::AbstractWriter::setURI ( const std::string &  uri)
inherited
void te::xerces::Writer::writeAttribute ( const std::string &  attName,
const std::string &  value 
)
virtual
void te::xerces::Writer::writeAttribute ( const std::string &  attName,
const double &  value 
)
virtual
void te::xerces::Writer::writeAttribute ( const std::string &  attName,
boost::int32_t  value 
)
virtual
void te::xerces::Writer::writeAttribute ( const std::string &  attName,
boost::uint32_t  value 
)
virtual
void te::xerces::Writer::writeAttribute ( const std::string &  attName,
boost::int64_t  value 
)
virtual
void te::xerces::Writer::writeAttribute ( const std::string &  attName,
boost::uint64_t  value 
)
virtual
void te::xerces::Writer::writeElement ( const std::string &  qName,
const std::string &  value 
)
virtual
void te::xerces::Writer::writeElement ( const std::string &  qName,
const double &  value 
)
virtual
void te::xerces::Writer::writeElement ( const std::string &  qName,
boost::int32_t  value 
)
virtual
void te::xerces::Writer::writeElement ( const std::string &  qName,
boost::uint32_t  value 
)
virtual
void te::xerces::Writer::writeElement ( const std::string &  qName,
boost::int64_t  value 
)
virtual
void te::xerces::Writer::writeElement ( const std::string &  qName,
boost::uint64_t  value 
)
virtual
void te::xerces::Writer::writeEndElement ( const std::string &  qName)
virtual
void te::xerces::Writer::writeStartDocument ( const std::string &  encoding,
const std::string &  standalone 
)
virtual
void te::xerces::Writer::writeStartElement ( const std::string &  qName)
virtual
void te::xerces::Writer::writeToFile ( )
virtual
void te::xerces::Writer::writeValue ( const std::string &  value)
virtual
void te::xerces::Writer::writeValue ( const double &  value)
virtual
void te::xerces::Writer::writeValue ( boost::int32_t  value)
virtual
void te::xerces::Writer::writeValue ( boost::uint32_t  value)
virtual
void te::xerces::Writer::writeValue ( boost::int64_t  value)
virtual
void te::xerces::Writer::writeValue ( boost::uint64_t  value)
virtual

Member Data Documentation

XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument* te::xerces::Writer::m_doc
private

DOM element - document.

Definition at line 126 of file Writer.h.

std::vector<XERCES_CPP_NAMESPACE_QUALIFIER DOMElement*> te::xerces::Writer::m_elementSet
private

Vector that contains all the elements (nodes).

Definition at line 128 of file Writer.h.

std::string te::xerces::Writer::m_encoding
private

Definition at line 136 of file Writer.h.

XERCES_CPP_NAMESPACE_QUALIFIER DOMImplementation* te::xerces::Writer::m_impl
private

DOM element - implementation.

Definition at line 125 of file Writer.h.

std::size_t te::xerces::Writer::m_indice
private

Index to build the ElementSet vector.

Definition at line 130 of file Writer.h.

std::string te::xml::AbstractWriter::m_rootNamespaceUri
protectedinherited

Definition at line 110 of file AbstractWriter.h.

bool te::xerces::Writer::m_standalone
private

Definition at line 137 of file Writer.h.

std::vector<std::string> te::xerces::Writer::m_topElementNamesSet
private

This vector gives the parent node of each element.

Definition at line 134 of file Writer.h.

std::vector<std::size_t> te::xerces::Writer::m_topElementSet
private

This vector gives the parent node of each element.

Definition at line 133 of file Writer.h.

std::size_t te::xerces::Writer::m_topIndice
private

Index of the parent node.

Definition at line 131 of file Writer.h.

std::string te::xml::AbstractWriter::m_uri
protectedinherited

Definition at line 109 of file AbstractWriter.h.


The documentation for this class was generated from the following file: