MySQL 9.1.0
Source Code Documentation
Stepper_base Class Reference

Base class of all WKB parsers, which parse different types of geometries properly. More...

Inheritance diagram for Stepper_base:
[legend]

Public Member Functions

 Stepper_base (char dim, Geometry::wkbByteOrder bo, bool has_wkb_hdr, Geometry::wkbType geotype)
 Constructor. More...
 
Geometry::wkbByteOrder get_current_byte_order () const
 
Geometry::wkbType get_current_geotype () const
 

Protected Attributes

char m_dim
 Current geometry dimension. More...
 
bool m_has_wkb_hdr
 Current geometry has a WKB header or not. More...
 
Geometry::wkbByteOrder m_bo
 Current geometry's byte order. More...
 
Geometry::wkbType m_geotype
 Current geometry's type, e.g. polygon, linestring, etc. More...
 

Detailed Description

Base class of all WKB parsers, which parse different types of geometries properly.

All these classes assume the WKB input is valid and complete.

Constructor & Destructor Documentation

◆ Stepper_base()

Stepper_base::Stepper_base ( char  dim,
Geometry::wkbByteOrder  bo,
bool  has_wkb_hdr,
Geometry::wkbType  geotype 
)
inline

Constructor.

Parameters
dimdimension of points in the geometry to be stepped over(i.e. current geometry).
bocurrent geometry's byte order
has_wkb_hdrtrue for stepping through geometries within multiXXX and geometrycollection, false for other geometries.
geotypecurrent geometry's type

Member Function Documentation

◆ get_current_byte_order()

Geometry::wkbByteOrder Stepper_base::get_current_byte_order ( ) const
inline

◆ get_current_geotype()

Geometry::wkbType Stepper_base::get_current_geotype ( ) const
inline

Member Data Documentation

◆ m_bo

Geometry::wkbByteOrder Stepper_base::m_bo
protected

Current geometry's byte order.

◆ m_dim

char Stepper_base::m_dim
protected

Current geometry dimension.

◆ m_geotype

Geometry::wkbType Stepper_base::m_geotype
protected

Current geometry's type, e.g. polygon, linestring, etc.

◆ m_has_wkb_hdr

bool Stepper_base::m_has_wkb_hdr
protected

Current geometry has a WKB header or not.


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