27 #include "../../../xml/Reader.h" 
   28 #include "../../../xml/ReaderFactory.h" 
   29 #include "../../../xml/Writer.h" 
   30 #include "../../Envelope.h" 
   31 #include "../../Exception.h" 
   49   return std::auto_ptr<te::gm::Envelope>(
new te::gm::Envelope(llx, lly, urx, ury));
 
virtual void writeStartElement(const std::string &qName)
 
This class models a XML reader object. 
 
This class models a XML writer object. 
 
virtual void writeAttribute(const std::string &attName, const std::string &value)
 
double m_urx
Upper right corner x-coordinate. 
 
virtual std::string getElementLocalName() const =0
It returns the local part of the element name in the case of an element node. 
 
double m_llx
Lower left corner x-coordinate. 
 
An Envelope defines a 2D rectangular region. 
 
Auxiliary classes and functions to read geometry information from a XML document. ...
 
TEGEOMEXPORT std::auto_ptr< te::gm::Envelope > ReadExtent(te::xml::Reader &reader)
 
virtual void writeEndElement(const std::string &qName)
 
double m_lly
Lower left corner y-coordinate. 
 
double m_ury
Upper right corner y-coordinate. 
 
virtual NodeType getNodeType() const =0
It return the type of node read. 
 
virtual double getAttrAsDouble(const std::string &name) const 
It returns the attribute value in the case of an element node with valid attributes. 
 
virtual bool next()=0
It gets the next event to be read. 
 
TEGEOMEXPORT void SaveExtent(const te::gm::Envelope &e, te::xml::Writer &writer)