CoordinateFilter.h

00001 /**********************************************************************
00002  * $Id: CoordinateFilter.h 1986 2007-06-08 15:27:42Z 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_COORDINATEFILTER_H
00017 #define GEOS_GEOM_COORDINATEFILTER_H
00018 
00019 #include <geos/inline.h>
00020 
00021 #include <cassert>
00022 
00023 namespace geos {
00024 namespace geom { // geos::geom
00025 
00026 class Coordinate;
00027 
00043 class CoordinateFilter {
00044 public:
00045    virtual ~CoordinateFilter() {}
00046 
00052    virtual void filter_rw(Coordinate* /*coord*/) const { assert(0); }
00053 
00059    virtual void filter_ro(const Coordinate* /*coord*/) { assert(0); }
00060 };
00061 
00062 } // namespace geos::geom
00063 } // namespace geos
00064 
00065 //#ifdef GEOS_INLINE
00066 //# include "geos/geom/CoordinateFilter.inl"
00067 //#endif
00068 
00069 #endif // ndef GEOS_GEOM_COORDINATEFILTER_H
00070 
00071 /**********************************************************************
00072  * $Log$
00073  * Revision 1.4  2006/06/19 23:33:03  strk
00074  * Don't *require* CoordinateFilters to define both read-only and read-write methods.
00075  *
00076  * Revision 1.3  2006/03/24 09:52:41  strk
00077  * USE_INLINE => GEOS_INLINE
00078  *
00079  * Revision 1.2  2006/03/13 21:13:54  strk
00080  * Added comment about possible refactoring
00081  *
00082  * Revision 1.1  2006/03/09 16:46:49  strk
00083  * geos::geom namespace definition, first pass at headers split
00084  *
00085  **********************************************************************/

Generated on Fri Mar 27 04:52:37 2009 for GEOS by  doxygen 1.5.4