00001 /********************************************************************** 00002 * $Id: GeometryEditorOperation.h 2556 2009-06-06 22:22:28Z strk $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2001-2002 Vivid Solutions Inc. 00008 * Copyright (C) 2006 Refractions Research Inc. 00009 * 00010 * This is free software; you can redistribute and/or modify it under 00011 * the terms of the GNU Lesser General Public Licence as published 00012 * by the Free Software Foundation. 00013 * See the COPYING file for more information. 00014 * 00015 **********************************************************************/ 00016 00017 #ifndef GEOS_GEOM_UTIL_GEOMETRYEDITOROPERATION_H 00018 #define GEOS_GEOM_UTIL_GEOMETRYEDITOROPERATION_H 00019 00020 #include <geos/export.h> 00021 00022 // Forward declarations 00023 namespace geos { 00024 namespace geom { 00025 class Geometry; 00026 class GeometryFactory; 00027 } 00028 } 00029 00030 00031 namespace geos { 00032 namespace geom { // geos.geom 00033 namespace util { // geos.geom.util 00034 00035 00039 class GEOS_DLL GeometryEditorOperation { 00040 00041 public: 00054 virtual Geometry* edit(const Geometry *geometry, 00055 const GeometryFactory *factory)=0; 00056 00057 virtual ~GeometryEditorOperation() {} 00058 }; 00059 00060 } // namespace geos.geom.util 00061 } // namespace geos.geom 00062 } // namespace geos 00063 00064 //#ifdef GEOS_INLINE 00065 //# include "geos/geom/util/GeometryEditorOperation.inl" 00066 //#endif 00067 00068 #endif 00069 00070 /********************************************************************** 00071 * $Log$ 00072 * Revision 1.3 2006/06/08 11:20:24 strk 00073 * Added missing virtual destructor to abstract classes. 00074 * 00075 * Revision 1.2 2006/03/24 09:52:41 strk 00076 * USE_INLINE => GEOS_INLINE 00077 * 00078 * Revision 1.1 2006/03/09 16:46:49 strk 00079 * geos::geom namespace definition, first pass at headers split 00080 * 00081 **********************************************************************/