GEOS
3.6.2
|
00001 /********************************************************************** 00002 * 00003 * GEOS - Geometry Engine Open Source 00004 * http://geos.osgeo.org 00005 * 00006 * Copyright (C) 2006 Refractions Research Inc. 00007 * 00008 * This is free software; you can redistribute and/or modify it under 00009 * the terms of the GNU Lesser General Public Licence as published 00010 * by the Free Software Foundation. 00011 * See the COPYING file for more information. 00012 * 00013 **********************************************************************/ 00014 #ifndef GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H 00015 #define GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H 00016 00017 #include <geos/export.h> 00018 00019 #include <geos/index/strtree/Boundable.h> // for inheritance 00020 00021 namespace geos { 00022 namespace index { // geos::index 00023 namespace strtree { // geos::index::strtree 00024 00032 class GEOS_DLL ItemBoundable: public Boundable 00033 { 00034 public: 00035 00036 ItemBoundable(const void* newBounds, void* newItem); 00037 virtual ~ItemBoundable(); 00038 00039 const void* getBounds() const; 00040 void* getItem() const; 00041 00042 private: 00043 00044 const void* bounds; 00045 void* item; 00046 }; 00047 00048 } // namespace geos::index::strtree 00049 } // namespace geos::index 00050 } // namespace geos 00051 00052 #endif // GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H