MySQL 8.0.40
Source Code Documentation
gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t > Class Template Reference

Public Member Functions

 Wkb_parser (THD *thd, const dd::Spatial_reference_system *srs, bool ignore_axis_order, uchar *begin, uchar *end)
 
Byte_order parse_byte_order ()
 
bool reached_end () const
 
std::uint32_t parse_uint32 (Byte_order bo)
 
double parse_double (Byte_order bo)
 
Geometry_type parse_geometry_type (Byte_order bo)
 
Point_t parse_point (Byte_order bo)
 
Point_t parse_wkb_point ()
 
Linestring_t parse_linestring (Byte_order bo)
 
Linestring_t parse_wkb_linestring ()
 
Polygon_t parse_polygon (Byte_order bo)
 
Polygon_t parse_wkb_polygon ()
 
Multipoint_t parse_multipoint (Byte_order bo)
 
Multilinestring_t parse_multilinestring (Byte_order bo)
 
Multipolygon_t parse_multipolygon (Byte_order bo)
 
Geometrycollection_t parse_geometrycollection (Byte_order bo)
 
Geometryparse_wkb ()
 

Private Member Functions

double transform_x (double x)
 
double transform_y (double y)
 

Private Attributes

ucharm_begin
 
ucharm_end
 
Coordinate_system m_coordinate_system
 
double m_angular_unit
 
double m_prime_meridian
 
bool m_positive_north
 
bool m_positive_east
 
bool m_swap_axes
 
THDm_thd
 

Constructor & Destructor Documentation

◆ Wkb_parser()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::Wkb_parser ( THD thd,
const dd::Spatial_reference_system srs,
bool  ignore_axis_order,
uchar begin,
uchar end 
)
inline

Member Function Documentation

◆ parse_byte_order()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Byte_order gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_byte_order ( )
inline

◆ parse_double()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
double gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_double ( Byte_order  bo)
inline

◆ parse_geometry_type()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Geometry_type gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_geometry_type ( Byte_order  bo)
inline

◆ parse_geometrycollection()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Geometrycollection_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_geometrycollection ( Byte_order  bo)
inline

◆ parse_linestring()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Linestring_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_linestring ( Byte_order  bo)
inline

◆ parse_multilinestring()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Multilinestring_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_multilinestring ( Byte_order  bo)
inline

◆ parse_multipoint()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Multipoint_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_multipoint ( Byte_order  bo)
inline

◆ parse_multipolygon()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Multipolygon_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_multipolygon ( Byte_order  bo)
inline

◆ parse_point()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Point_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_point ( Byte_order  bo)
inline

◆ parse_polygon()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Polygon_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_polygon ( Byte_order  bo)
inline

◆ parse_uint32()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
std::uint32_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_uint32 ( Byte_order  bo)
inline

◆ parse_wkb()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Geometry * gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_wkb ( )
inline

◆ parse_wkb_linestring()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Linestring_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_wkb_linestring ( )
inline

◆ parse_wkb_point()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Point_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_wkb_point ( )
inline

◆ parse_wkb_polygon()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Polygon_t gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::parse_wkb_polygon ( )
inline

◆ reached_end()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
bool gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::reached_end ( ) const
inline

◆ transform_x()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
double gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::transform_x ( double  x)
inlineprivate

◆ transform_y()

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
double gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::transform_y ( double  y)
inlineprivate

Member Data Documentation

◆ m_angular_unit

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
double gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::m_angular_unit
private

◆ m_begin

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
uchar* gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::m_begin
private

◆ m_coordinate_system

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
Coordinate_system gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::m_coordinate_system
private

◆ m_end

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
uchar* gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::m_end
private

◆ m_positive_east

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
bool gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::m_positive_east
private

◆ m_positive_north

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
bool gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::m_positive_north
private

◆ m_prime_meridian

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
double gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::m_prime_meridian
private

◆ m_swap_axes

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
bool gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::m_swap_axes
private

◆ m_thd

template<typename Point_t , typename Linestring_t , typename Linearring_t , typename Polygon_t , typename Geometrycollection_t , typename Multipoint_t , typename Multilinestring_t , typename Multipolygon_t >
THD* gis::Wkb_parser< Point_t, Linestring_t, Linearring_t, Polygon_t, Geometrycollection_t, Multipoint_t, Multilinestring_t, Multipolygon_t >::m_thd
private

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