00001 /********************************************************************** 00002 * $Id: ItemBoundable.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) 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 #ifndef GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H 00016 #define GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H 00017 00018 #include <geos/export.h> 00019 00020 #include <geos/index/strtree/Boundable.h> // for inheritance 00021 00022 namespace geos { 00023 namespace index { // geos::index 00024 namespace strtree { // geos::index::strtree 00025 00033 class GEOS_DLL ItemBoundable: public Boundable 00034 { 00035 public: 00036 00037 ItemBoundable(const void* newBounds, void* newItem); 00038 virtual ~ItemBoundable(); 00039 00040 const void* getBounds() const; 00041 void* getItem() const; 00042 00043 private: 00044 00045 const void* bounds; 00046 void* item; 00047 }; 00048 00049 } // namespace geos::index::strtree 00050 } // namespace geos::index 00051 } // namespace geos 00052 00053 #endif // GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H 00054 00055 /********************************************************************** 00056 * $Log$ 00057 * Revision 1.1 2006/03/21 10:47:34 strk 00058 * indexStrtree.h split 00059 * 00060 **********************************************************************/ 00061