GEOS  3.3.3
GeometryEditorOperation.h
1 /**********************************************************************
2  * $Id: GeometryEditorOperation.h 2556 2009-06-06 22:22:28Z strk $
3  *
4  * GEOS - Geometry Engine Open Source
5  * http://geos.refractions.net
6  *
7  * Copyright (C) 2001-2002 Vivid Solutions Inc.
8  * Copyright (C) 2006 Refractions Research Inc.
9  *
10  * This is free software; you can redistribute and/or modify it under
11  * the terms of the GNU Lesser General Public Licence as published
12  * by the Free Software Foundation.
13  * See the COPYING file for more information.
14  *
15  **********************************************************************/
16 
17 #ifndef GEOS_GEOM_UTIL_GEOMETRYEDITOROPERATION_H
18 #define GEOS_GEOM_UTIL_GEOMETRYEDITOROPERATION_H
19 
20 #include <geos/export.h>
21 
22 // Forward declarations
23 namespace geos {
24  namespace geom {
25  class Geometry;
26  class GeometryFactory;
27  }
28 }
29 
30 
31 namespace geos {
32 namespace geom { // geos.geom
33 namespace util { // geos.geom.util
34 
35 
39 class GEOS_DLL GeometryEditorOperation {
40 
41 public:
54  virtual Geometry* edit(const Geometry *geometry,
55  const GeometryFactory *factory)=0;
56 
57  virtual ~GeometryEditorOperation() {}
58 };
59 
60 } // namespace geos.geom.util
61 } // namespace geos.geom
62 } // namespace geos
63 
64 //#ifdef GEOS_INLINE
65 //# include "geos/geom/util/GeometryEditorOperation.inl"
66 //#endif
67 
68 #endif
69 
70 /**********************************************************************
71  * $Log$
72  * Revision 1.3 2006/06/08 11:20:24 strk
73  * Added missing virtual destructor to abstract classes.
74  *
75  * Revision 1.2 2006/03/24 09:52:41 strk
76  * USE_INLINE => GEOS_INLINE
77  *
78  * Revision 1.1 2006/03/09 16:46:49 strk
79  * geos::geom namespace definition, first pass at headers split
80  *
81  **********************************************************************/