MySQL 8.0.39
Source Code Documentation
|
The base class of all functors that takes two geometry arguments. More...
#include <functor.h>
Public Member Functions | |
virtual T | operator() (const Geometry *g1, const Geometry *g2) const =0 |
virtual | ~Functor ()=default |
Static Protected Member Functions | |
template<typename F > | |
static T | apply (F &f, const Geometry *g1, const Geometry *g2) |
The base class of all functors that takes two geometry arguments.
Subclasses of this functor base class will implement operator() and call apply() to do type combination dispatching. The actual body of the functor is in the eval() member function, which must be implemented for each different parameter type combination.
The functor may throw exceptions.
T | The return type of the functor. |
|
virtualdefault |
|
inlinestaticprotected |
|
pure virtual |