A class that computes the number of bytes necessary to encode a geometry in WKB. More...
#include <WKBSize.h>
Static Public Member Functions | |
static std::size_t | size (const Geometry *geom) |
It calculates the number of bytes required to encode the geometry in a WKB format. More... | |
static std::size_t | size (const Geometry &geom) |
It calculates the number of bytes required to encode the geometry in a WKB format. More... | |
Protected Member Functions | |
void | visit (const Curve &) |
void | visit (const Geometry &) |
void | visit (const GeometryCollection &visited) |
void | visit (const LinearRing &visited) |
void | visit (const LineString &visited) |
void | visit (const MultiCurve &) |
void | visit (const MultiLineString &visited) |
void | visit (const MultiPoint &visited) |
void | visit (const MultiPolygon &visited) |
void | visit (const MultiSurface &) |
void | visit (const AbstractPoint &) |
void | visit (const Point &visited) |
void | visit (const PointM &visited) |
void | visit (const PointZ &visited) |
void | visit (const PointZM &visited) |
void | visit (const PointKd &) |
void | visit (const Polygon &visited) |
void | visit (const PolyhedralSurface &visited) |
void | visit (const Surface &) |
void | visit (const TIN &visited) |
void | visit (const Triangle &visited) |
void | visit (const CircularString &) |
void | visit (const CompoundCurve &) |
void | visit (const CurvePolygon &) |
Private Member Functions | |
WKBSize () | |
Not instantiable class. More... | |
~WKBSize () | |
Destructor. More... | |
Private Attributes | |
std::size_t | m_size |
A counter for the number of bytes required to store a given geometry in WKB. More... | |
A class that computes the number of bytes necessary to encode a geometry in WKB.
|
private |
Not instantiable class.
|
private |
Destructor.
|
static |
It calculates the number of bytes required to encode the geometry in a WKB format.
geom | The geometry to calculate the WKB size. |
|
static |
It calculates the number of bytes required to encode the geometry in a WKB format.
geom | The geometry to calculate the WKB size. |
|
inlineprotectedvirtual |
Implements te::gm::Visitor.
|
inlineprotectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
inlineprotectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
inlineprotectedvirtual |
Implements te::gm::Visitor.
|
inlineprotectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
inlineprotectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
inlineprotectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
protectedvirtual |
Implements te::gm::Visitor.
|
inlineprotectedvirtual |
Implements te::gm::Visitor.
|
inlineprotectedvirtual |
Implements te::gm::Visitor.
|
inlineprotectedvirtual |
Implements te::gm::Visitor.
|
private |