/********************************************************************** * $Id: IntervalRTreeLeafNode.h 2263 2009-01-29 18:56:00Z mloskot $ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2006 Refractions Research Inc. * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesser General Public Licence as published * by the Free Software Foundation. * See the COPYING file for more information. * * **********************************************************************/ #ifndef GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H #define GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H #include // inherited // forward declarations namespace geos { namespace index { class ItemVisitor; } } namespace geos { namespace index { namespace intervalrtree { class IntervalRTreeLeafNode : public IntervalRTreeNode { private: void * item; protected: public: IntervalRTreeLeafNode( double min, double max, void * item) : IntervalRTreeNode( min, max), item( item) { } ~IntervalRTreeLeafNode() { delete item; } void query( double queryMin, double queryMax, index::ItemVisitor * visitor) const; }; } // geos::intervalrtree } // geos::index } // geos #endif // GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H /********************************************************************** * $Log$ **********************************************************************/