00001 /********************************************************************** 00002 * $Id: GeometryComponentFilter.h 1820 2006-09-06 16:54:23Z mloskot $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2005-2006 Refractions Research Inc. 00008 * 00009 * This is free software; you can redistribute and/or modify it under 00010 * the terms of the GNU Lesser General Public Licence as published 00011 * by the Free Software Foundation. 00012 * See the COPYING file for more information. 00013 * 00014 **********************************************************************/ 00015 00016 #ifndef GEOS_GEOM_GEOMETRYCOMPONENTFILTER_H 00017 #define GEOS_GEOM_GEOMETRYCOMPONENTFILTER_H 00018 00019 #include <geos/inline.h> 00020 00021 namespace geos { 00022 namespace geom { // geos::geom 00023 class Geometry; 00024 } 00025 } 00026 00027 namespace geos { 00028 namespace geom { // geos::geom 00029 00043 class GeometryComponentFilter { 00044 public: 00045 00052 virtual void filter_rw(Geometry *geom); 00053 virtual void filter_ro(const Geometry *geom); 00054 00055 virtual ~GeometryComponentFilter() {} 00056 }; 00057 00058 } // namespace geos::geom 00059 } // namespace geos 00060 00061 //#ifdef GEOS_INLINE 00062 //# include "geos/geom/GeometryComponentFilter.inl" 00063 //#endif 00064 00065 #endif // ndef GEOS_GEOM_GEOMETRYCOMPONENTFILTER_H 00066 00067 /********************************************************************** 00068 * $Log$ 00069 * Revision 1.4 2006/06/08 11:20:24 strk 00070 * Added missing virtual destructor to abstract classes. 00071 * 00072 * Revision 1.3 2006/04/13 14:25:17 strk 00073 * TopologyPreservingSimplifier initial port 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 **********************************************************************/