MySQL 8.3.0
Source Code Documentation
functor.h File Reference

This file contains the superclasses for GIS functors. More...

#include <assert.h>
#include <exception>
#include <sstream>
#include <string>
#include "sql/gis/geometries.h"
#include "sql/gis/geometries_cs.h"
#include "template_utils.h"

Go to the source code of this file.

Classes

struct  gis::longitude_out_of_range_exception
 Longitude out of range exception. More...
 
struct  gis::latitude_out_of_range_exception
 Latitude out of range exception. More...
 
class  gis::not_implemented_exception
 Function/parameter combination not implemented exception. More...
 
class  gis::null_value_exception
 NULL value exception. More...
 
class  gis::Functor< T >
 The base class of all functors that takes two geometry arguments. More...
 
class  gis::Unary_functor< T >
 The base class of all functors that take one geometry argument. More...
 

Namespaces

namespace  gis
 

Detailed Description

This file contains the superclasses for GIS functors.

Each GIS function is split in two: a functor class (for internal use) and a function (for external use) that uses the functor. The functor provides the internal interface to GIS functions, and it may throw exceptions. Some functions may need a combination of different functors to implement the desired functionality.

The function, not the functor, is the interface to the rest of MySQL.

See also
distance_functor.h