MySQL  8.0.25
Source Code Documentation
gis::Nop_visitor Class Reference

A visitor that implements the entire interface and does nothing. More...

#include <geometry_visitor.h>

Inheritance diagram for gis::Nop_visitor:
gis::Geometry_visitor gis::Coordinate_range_visitor gis::Ring_flip_visitor gis::Wkb_size_visitor gis::Wkb_visitor

Public Member Functions

bool visit_enter (Geometry *) override
 Enters a compound geometry. More...
 
bool visit_enter (Curve *c) override
 
bool visit_enter (Linestring *ls) override
 
bool visit_enter (Linearring *lr) override
 
bool visit_enter (Surface *s) override
 
bool visit_enter (Polygon *py) override
 
bool visit_enter (Geometrycollection *gc) override
 
bool visit_enter (Multipoint *mpt) override
 
bool visit_enter (Multicurve *mc) override
 
bool visit_enter (Multilinestring *mls) override
 
bool visit_enter (Multisurface *ms) override
 
bool visit_enter (Multipolygon *mpy) override
 
bool visit (Geometry *) override
 Visits a geometry. More...
 
bool visit (Point *pt) override
 
bool visit (Curve *c) override
 
bool visit (Linestring *ls) override
 
bool visit (Linearring *lr) override
 
bool visit (Surface *s) override
 
bool visit (Polygon *py) override
 
bool visit (Geometrycollection *gc) override
 
bool visit (Multipoint *mpt) override
 
bool visit (Multicurve *mc) override
 
bool visit (Multilinestring *mls) override
 
bool visit (Multisurface *ms) override
 
bool visit (Multipolygon *mpy) override
 
bool visit_leave (Geometry *) override
 Leaves a compound geometry. More...
 
bool visit_leave (Curve *c) override
 
bool visit_leave (Linestring *ls) override
 
bool visit_leave (Linearring *lr) override
 
bool visit_leave (Surface *s) override
 
bool visit_leave (Polygon *py) override
 
bool visit_leave (Geometrycollection *gc) override
 
bool visit_leave (Multipoint *mpt) override
 
bool visit_leave (Multicurve *mc) override
 
bool visit_leave (Multilinestring *mls) override
 
bool visit_leave (Multisurface *ms) override
 
bool visit_leave (Multipolygon *mpy) override
 
- Public Member Functions inherited from gis::Geometry_visitor
 Geometry_visitor ()
 
virtual ~Geometry_visitor ()
 

Detailed Description

A visitor that implements the entire interface and does nothing.

Member Function Documentation

◆ visit() [1/13]

bool gis::Nop_visitor::visit ( Curve c)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit() [2/13]

bool gis::Nop_visitor::visit ( Geometry g)
inlineoverridevirtual

Visits a geometry.

This is called on each non-compound geometry and between visiting descendants. E.g., visit(Linestring *) will be called after visiting the first point in the linestring, then after visiting the second, etc., but not after visiting the last point.

Parameters
gThe geometry to visit.
Return values
trueAbort visitor execution.
falseContinue visitor execution.

Implements gis::Geometry_visitor.

◆ visit() [3/13]

bool gis::Nop_visitor::visit ( Geometrycollection gc)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit() [4/13]

bool gis::Nop_visitor::visit ( Linearring lr)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit() [5/13]

bool gis::Nop_visitor::visit ( Linestring ls)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit() [6/13]

bool gis::Nop_visitor::visit ( Multicurve mc)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit() [7/13]

bool gis::Nop_visitor::visit ( Multilinestring mls)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit() [8/13]

bool gis::Nop_visitor::visit ( Multipoint mpt)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit() [9/13]

bool gis::Nop_visitor::visit ( Multipolygon mpy)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit() [10/13]

bool gis::Nop_visitor::visit ( Multisurface ms)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit() [11/13]

bool gis::Nop_visitor::visit ( Point pt)
inlineoverridevirtual

Implements gis::Geometry_visitor.

Reimplemented in gis::Wkb_visitor, and gis::Wkb_size_visitor.

◆ visit() [12/13]

bool gis::Nop_visitor::visit ( Polygon py)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit() [13/13]

bool gis::Nop_visitor::visit ( Surface s)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_enter() [1/12]

bool gis::Nop_visitor::visit_enter ( Curve c)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_enter() [2/12]

bool gis::Nop_visitor::visit_enter ( Geometry g)
inlineoverridevirtual

Enters a compound geometry.

This is called on entry to a compound geometry, i.e., all geometries except points.

Parameters
gThe geometry to visit.
Return values
trueDon't descend into children.
falseDescend into children.

Implements gis::Geometry_visitor.

Reimplemented in gis::Wkb_size_visitor, and gis::Wkb_visitor.

◆ visit_enter() [3/12]

bool gis::Nop_visitor::visit_enter ( Geometrycollection gc)
inlineoverridevirtual

Implements gis::Geometry_visitor.

Reimplemented in gis::Wkb_visitor, and gis::Wkb_size_visitor.

◆ visit_enter() [4/12]

bool gis::Nop_visitor::visit_enter ( Linearring lr)
inlineoverridevirtual

Implements gis::Geometry_visitor.

Reimplemented in gis::Wkb_size_visitor.

◆ visit_enter() [5/12]

bool gis::Nop_visitor::visit_enter ( Linestring ls)
inlineoverridevirtual

Implements gis::Geometry_visitor.

Reimplemented in gis::Wkb_visitor, and gis::Wkb_size_visitor.

◆ visit_enter() [6/12]

bool gis::Nop_visitor::visit_enter ( Multicurve mc)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_enter() [7/12]

bool gis::Nop_visitor::visit_enter ( Multilinestring mls)
inlineoverridevirtual

Implements gis::Geometry_visitor.

Reimplemented in gis::Ring_flip_visitor.

◆ visit_enter() [8/12]

bool gis::Nop_visitor::visit_enter ( Multipoint mpt)
inlineoverridevirtual

Implements gis::Geometry_visitor.

Reimplemented in gis::Ring_flip_visitor.

◆ visit_enter() [9/12]

bool gis::Nop_visitor::visit_enter ( Multipolygon mpy)
inlineoverridevirtual

Implements gis::Geometry_visitor.

Reimplemented in gis::Ring_flip_visitor.

◆ visit_enter() [10/12]

bool gis::Nop_visitor::visit_enter ( Multisurface ms)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_enter() [11/12]

bool gis::Nop_visitor::visit_enter ( Polygon py)
inlineoverridevirtual

◆ visit_enter() [12/12]

bool gis::Nop_visitor::visit_enter ( Surface s)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [1/12]

bool gis::Nop_visitor::visit_leave ( Curve c)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [2/12]

bool gis::Nop_visitor::visit_leave ( Geometry g)
inlineoverridevirtual

Leaves a compound geometry.

Called after visiting the last child of a compound geometry. The return value is returned to the accept() function.

Parameters
gThe geometry to visit.
Return values
trueAbort visitor execution.
falseContinue visitor execution.

Implements gis::Geometry_visitor.

◆ visit_leave() [3/12]

bool gis::Nop_visitor::visit_leave ( Geometrycollection gc)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [4/12]

bool gis::Nop_visitor::visit_leave ( Linearring lr)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [5/12]

bool gis::Nop_visitor::visit_leave ( Linestring ls)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [6/12]

bool gis::Nop_visitor::visit_leave ( Multicurve mc)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [7/12]

bool gis::Nop_visitor::visit_leave ( Multilinestring mls)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [8/12]

bool gis::Nop_visitor::visit_leave ( Multipoint mpt)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [9/12]

bool gis::Nop_visitor::visit_leave ( Multipolygon mpy)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [10/12]

bool gis::Nop_visitor::visit_leave ( Multisurface ms)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [11/12]

bool gis::Nop_visitor::visit_leave ( Polygon py)
inlineoverridevirtual

Implements gis::Geometry_visitor.

◆ visit_leave() [12/12]

bool gis::Nop_visitor::visit_leave ( Surface s)
inlineoverridevirtual

Implements gis::Geometry_visitor.


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