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 #ifndef GEOS_INDEX_ITEMVISITOR_H
17 #define GEOS_INDEX_ITEMVISITOR_H
18 
19 #include <geos/export.h>
20 
21 namespace geos {
22 namespace index {
23 
24 /** \brief
25  * A visitor for items in an index.
26  *
27  * Last port: index/ItemVisitor.java rev. 1.2 (JTS-1.7)
28  */
29 class GEOS_DLL ItemVisitor {
30 public:
31     virtual void visitItem(void*) = 0;
32 
33     virtual
~ItemVisitor()34     ~ItemVisitor() {}
35 };
36 
37 } // namespace geos.index
38 } // namespace geos
39 
40 #endif // GEOS_INDEX_ITEMVISITOR_H
41 
42