Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet::geometry::OGRAdapterBase< T > Class Template Reference

Base class for OGR geometry adapters, which owns an OGR geometry. More...

#include <OGRAdapterBase.hpp>

Inheritance diagram for fishnet::geometry::OGRAdapterBase< T >:

Public Types

using numeric_type = double
 

Public Member Functions

 OGRAdapterBase (OGRUniquePtr< T > &&geomPtr)
 
 OGRAdapterBase (OGRAdapterBase &&other) noexcept
 
 OGRAdapterBase (const OGRAdapterBase &other)
 
OGRAdapterBase & operator= (const OGRAdapterBase &other)
 
OGRAdapterBase & operator= (OGRAdapterBase &&other) noexcept
 
bool operator== (const OGRAdapterBase &other) const noexcept
 
T * raw () const noexcept
 
size_t hash () const noexcept
 
std::string toString () const
 

Protected Attributes

OGRUniquePtr< T > geomPtr
 

Detailed Description

template<typename T>
requires std::is_base_of_v<OGRGeometry, T>
class fishnet::geometry::OGRAdapterBase< T >

Base class for OGR geometry adapters, which owns an OGR geometry.

Template Parameters
Tchild class of OGRGeometry

Member Typedef Documentation

◆ numeric_type

template<typename T >
using fishnet::geometry::OGRAdapterBase< T >::numeric_type = double

Constructor & Destructor Documentation

◆ OGRAdapterBase() [1/3]

template<typename T >
fishnet::geometry::OGRAdapterBase< T >::OGRAdapterBase ( OGRUniquePtr< T > &&  geomPtr)
inline

◆ OGRAdapterBase() [2/3]

template<typename T >
fishnet::geometry::OGRAdapterBase< T >::OGRAdapterBase ( OGRAdapterBase< T > &&  other)
inlinenoexcept

◆ OGRAdapterBase() [3/3]

template<typename T >
fishnet::geometry::OGRAdapterBase< T >::OGRAdapterBase ( const OGRAdapterBase< T > &  other)
inline

Member Function Documentation

◆ hash()

template<typename T >
size_t fishnet::geometry::OGRAdapterBase< T >::hash ( ) const
inlinenoexcept

◆ operator=() [1/2]

template<typename T >
OGRAdapterBase & fishnet::geometry::OGRAdapterBase< T >::operator= ( const OGRAdapterBase< T > &  other)
inline

◆ operator=() [2/2]

template<typename T >
OGRAdapterBase & fishnet::geometry::OGRAdapterBase< T >::operator= ( OGRAdapterBase< T > &&  other)
inlinenoexcept

◆ operator==()

template<typename T >
bool fishnet::geometry::OGRAdapterBase< T >::operator== ( const OGRAdapterBase< T > &  other) const
inlinenoexcept

◆ raw()

template<typename T >
T * fishnet::geometry::OGRAdapterBase< T >::raw ( ) const
inlinenoexcept

◆ toString()

template<typename T >
std::string fishnet::geometry::OGRAdapterBase< T >::toString ( ) const
inline

Member Data Documentation

◆ geomPtr

template<typename T >
OGRUniquePtr<T> fishnet::geometry::OGRAdapterBase< T >::geomPtr
protected

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