GEOS: CoordinateFilter.h Source File

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

# CoordinateFilter.h

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