00001 /********************************************************************** 00002 * $Id: GeometryComponentFilter.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) 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/export.h> 00020 #include <geos/inline.h> 00021 00022 namespace geos { 00023 namespace geom { // geos::geom 00024 class Geometry; 00025 } 00026 } 00027 00028 namespace geos { 00029 namespace geom { // geos::geom 00030 00044 class GEOS_DLL GeometryComponentFilter { 00045 public: 00046 00053 virtual void filter_rw(Geometry *geom); 00054 virtual void filter_ro(const Geometry *geom); 00055 00056 virtual ~GeometryComponentFilter() {} 00057 }; 00058 00059 } // namespace geos::geom 00060 } // namespace geos 00061 00062 //#ifdef GEOS_INLINE 00063 //# include "geos/geom/GeometryComponentFilter.inl" 00064 //#endif 00065 00066 #endif // ndef GEOS_GEOM_GEOMETRYCOMPONENTFILTER_H 00067 00068 /********************************************************************** 00069 * $Log$ 00070 * Revision 1.4 2006/06/08 11:20:24 strk 00071 * Added missing virtual destructor to abstract classes. 00072 * 00073 * Revision 1.3 2006/04/13 14:25:17 strk 00074 * TopologyPreservingSimplifier initial port 00075 * 00076 * Revision 1.2 2006/03/24 09:52:41 strk 00077 * USE_INLINE => GEOS_INLINE 00078 * 00079 * Revision 1.1 2006/03/09 16:46:49 strk 00080 * geos::geom namespace definition, first pass at headers split 00081 * 00082 **********************************************************************/