GEOS  3.13.0dev
ItemVisitor.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2006 Refractions Research Inc.
7  * Copyright (C) 2001-2002 Vivid Solutions Inc.
8  *
9  * This is free software; you can redistribute and/or modify it under
10  * the terms of the GNU Lesser General Public Licence as published
11  * by the Free Software Foundation.
12  * See the COPYING file for more information.
13  *
14  **********************************************************************/
15 
16 #pragma once
17 
18 #include <geos/export.h>
19 
20 namespace geos {
21 namespace index {
22 
28 class GEOS_DLL ItemVisitor {
29 public:
30  virtual void visitItem(void*) = 0;
31 
32  virtual
33  ~ItemVisitor() {}
34 };
35 
36 } // namespace geos.index
37 } // namespace geos
38 
A visitor for items in an index.
Definition: ItemVisitor.h:28
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25