A class that serializes a geometry to the WKT format.
More...
#include <WKTWriter.h>
|
| static void | write (const Geometry *geom, std::ostream &o) |
| | It serializes the geometry to a WKT representation. More...
|
| |
| static void | write (const Geometry &geom, std::ostream &o) |
| | It serializes the geometry to a WKT representation. More...
|
| |
|
| std::ostream & | m_ostream |
| | The output stream used to serialize the geometry to WKT. More...
|
| |
| bool | m_tagged |
| | This flag controls how geometry are write to the output stream. More...
|
| |
A class that serializes a geometry to the WKT format.
- See also
- WKTReader
Definition at line 54 of file WKTWriter.h.
| te::gm::WKTWriter::WKTWriter |
( |
std::ostream & |
o | ) |
|
It constructs a new WKT writer.
- Parameters
-
| o | An output stream where we will write the wkt. |
| te::gm::WKTWriter::~WKTWriter |
( |
| ) |
|
| virtual void te::gm::WKTWriter::visit |
( |
const Curve & |
| ) |
|
|
inlineprotectedvirtual |
| virtual void te::gm::WKTWriter::visit |
( |
const Geometry & |
| ) |
|
|
inlineprotectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const LinearRing & |
visited | ) |
|
|
protectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const LineString & |
visited | ) |
|
|
protectedvirtual |
| virtual void te::gm::WKTWriter::visit |
( |
const MultiCurve & |
| ) |
|
|
inlineprotectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const MultiPoint & |
visited | ) |
|
|
protectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const MultiPolygon & |
visited | ) |
|
|
protectedvirtual |
| virtual void te::gm::WKTWriter::visit |
( |
const MultiSurface & |
| ) |
|
|
inlineprotectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const Point & |
visited | ) |
|
|
protectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const PointM & |
visited | ) |
|
|
protectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const PointZ & |
visited | ) |
|
|
protectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const PointZM & |
visited | ) |
|
|
protectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const PointKd & |
| ) |
|
|
inlineprotectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const Polygon & |
visited | ) |
|
|
protectedvirtual |
| virtual void te::gm::WKTWriter::visit |
( |
const Surface & |
| ) |
|
|
inlineprotectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const TIN & |
visited | ) |
|
|
protectedvirtual |
| void te::gm::WKTWriter::visit |
( |
const Triangle & |
visited | ) |
|
|
protectedvirtual |
| void te::gm::WKTWriter::write |
( |
const Geometry * |
geom | ) |
|
It serializes the geometry to a WKT representation.
- Parameters
-
| geom | The geometry to be serialized. |
- Note
- You must call reset in successive calls to this method.
| void te::gm::WKTWriter::write |
( |
const Geometry & |
geom | ) |
|
It serializes the geometry to a WKT representation.
- Parameters
-
| geom | The geometry to be serialized. |
- Note
- You must call reset in successive calls to this method.
| static void te::gm::WKTWriter::write |
( |
const Geometry * |
geom, |
|
|
std::ostream & |
o |
|
) |
| |
|
static |
It serializes the geometry to a WKT representation.
- Parameters
-
| geom | The geometry to be serialized. |
| o | An output stream where we will write the wkt. |
| static void te::gm::WKTWriter::write |
( |
const Geometry & |
geom, |
|
|
std::ostream & |
o |
|
) |
| |
|
static |
It serializes the geometry to a WKT representation.
- Parameters
-
| geom | The geometry to be serialized. |
| o | An output stream where we will write the wkt. |
| std::ostream& te::gm::WKTWriter::m_ostream |
|
private |
The output stream used to serialize the geometry to WKT.
Definition at line 131 of file WKTWriter.h.
| bool te::gm::WKTWriter::m_tagged |
|
private |
This flag controls how geometry are write to the output stream.
Definition at line 132 of file WKTWriter.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/geometry/WKTWriter.h