MySQL 8.4.1
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
 
const dd::Spatial_reference_systemGetSrs () const
 
std::unique_ptr< gis::GeometryGetValue ()
 
 GeometryExtractionResult (ResultType resultType)
 
 GeometryExtractionResult (std::unique_ptr< gis::Geometry > geometry, const dd::Spatial_reference_system *srs)
 

Private Attributes

const ResultType m_resultType
 
std::unique_ptr< gis::Geometrym_value
 
const dd::Spatial_reference_systemm_srs = nullptr
 

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,
const dd::Spatial_reference_system srs 
)
inlineexplicit

Member Function Documentation

◆ GetResultType()

ResultType GeometryExtractionResult::GetResultType ( ) const
inline

◆ GetSrs()

const dd::Spatial_reference_system * GeometryExtractionResult::GetSrs ( ) const
inline

◆ GetValue()

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

Member Data Documentation

◆ m_resultType

const ResultType GeometryExtractionResult::m_resultType
private

◆ m_srs

const dd::Spatial_reference_system* GeometryExtractionResult::m_srs = nullptr
private

◆ m_value

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

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