MySQL 8.0.39
Source Code Documentation
GeometryExtractionResult Class Reference

Type used to handle both the result of the decoding of a geometry and the geometry in the case of success. More...

#include <geometry_extraction.h>

Public Member Functions

ResultType GetResultType () const
 
gis::srid_t GetSrid () const
 
std::unique_ptr< gis::GeometryGetValue ()
 
 GeometryExtractionResult (ResultType resultType)
 
 GeometryExtractionResult (std::unique_ptr< gis::Geometry > geometry, gis::srid_t srid)
 

Private Attributes

const ResultType m_resultType
 
std::unique_ptr< gis::Geometrym_value
 
gis::srid_t srid = 0
 

Detailed Description

Type used to handle both the result of the decoding of a geometry and the geometry in the case of success.

Constructor & Destructor Documentation

◆ GeometryExtractionResult() [1/2]

GeometryExtractionResult::GeometryExtractionResult ( ResultType  resultType)
inlineexplicit

◆ GeometryExtractionResult() [2/2]

GeometryExtractionResult::GeometryExtractionResult ( std::unique_ptr< gis::Geometry geometry,
gis::srid_t  srid 
)
inlineexplicit

Member Function Documentation

◆ GetResultType()

ResultType GeometryExtractionResult::GetResultType ( ) const
inline

◆ GetSrid()

gis::srid_t GeometryExtractionResult::GetSrid ( ) const
inline

◆ GetValue()

std::unique_ptr< gis::Geometry > GeometryExtractionResult::GetValue ( )
inline

Member Data Documentation

◆ m_resultType

const ResultType GeometryExtractionResult::m_resultType
private

◆ m_value

std::unique_ptr<gis::Geometry> GeometryExtractionResult::m_value
private

◆ srid

gis::srid_t GeometryExtractionResult::srid = 0
private

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