te::pgis::EWKBReader Class Reference

An utility class for reading a PostGIS EWKB. More...

#include <EWKBReader.h>

Inheritance diagram for te::pgis::EWKBReader:
te::common::Static

Static Public Member Functions

static te::gm::Geometryread (const char *ewkb)
 It returns a valid geometry from a given EWKB. More...
 
static te::gm::GeometryreadHex (const char *hewkb)
 It returns a valid geometry from a given hex-encoded EWKB. More...
 

Static Private Member Functions

static te::gm::GeometrygetGeometry (const char *ewkb, const char **endptr)
 
static te::gm::GeometryCollectiongetGeometryCollection (const char *ewkb, const char **endptr)
 
static te::gm::LinearRinggetLinearRing (const char *ewkb, te::gm::GeomType t, int srid, char wkbByteOrder, const char **endptr)
 
static te::gm::LineStringgetLineString (const char *ewkb, const char **endptr)
 
static te::gm::PointgetPoint (const char *ewkb, const char **endptr)
 
static te::gm::PolygongetPolygon (const char *ewkb, const char **endptr)
 

Detailed Description

An utility class for reading a PostGIS EWKB.

Definition at line 46 of file EWKBReader.h.

Member Function Documentation

static te::gm::Geometry* te::pgis::EWKBReader::getGeometry ( const char *  ewkb,
const char **  endptr 
)
staticprivate
static te::gm::GeometryCollection* te::pgis::EWKBReader::getGeometryCollection ( const char *  ewkb,
const char **  endptr 
)
staticprivate
static te::gm::LinearRing* te::pgis::EWKBReader::getLinearRing ( const char *  ewkb,
te::gm::GeomType  t,
int  srid,
char  wkbByteOrder,
const char **  endptr 
)
staticprivate
static te::gm::LineString* te::pgis::EWKBReader::getLineString ( const char *  ewkb,
const char **  endptr 
)
staticprivate
static te::gm::Point* te::pgis::EWKBReader::getPoint ( const char *  ewkb,
const char **  endptr 
)
staticprivate
static te::gm::Polygon* te::pgis::EWKBReader::getPolygon ( const char *  ewkb,
const char **  endptr 
)
staticprivate
static te::gm::Geometry* te::pgis::EWKBReader::read ( const char *  ewkb)
static

It returns a valid geometry from a given EWKB.

Parameters
ewkbA valid EWKB geometry.
Returns
A geometry created from reading the EWKB. The caller of this method will take the ownership of the returned geometry.
static te::gm::Geometry* te::pgis::EWKBReader::readHex ( const char *  hewkb)
static

It returns a valid geometry from a given hex-encoded EWKB.

Parameters
hewkbAn hex-encoded EWKB geometry.
Returns
A geometry created from reading the HEWKB. The caller of this method will take the ownership of the returned geometry.

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