ItemBoundable.h

00001 /**********************************************************************
00002  * $Id: ItemBoundable.h 1971 2007-02-07 00:34:26Z 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 
00016 #ifndef GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H
00017 #define GEOS_INDEX_STRTREE_ITEMBOUNDABLE_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 
00030 class ItemBoundable: public Boundable {
00031 private:
00032         const void* bounds;
00033         void* item;
00034 public:
00035         ItemBoundable(const void* newBounds, void* newItem);
00036         virtual ~ItemBoundable();
00037         const void* getBounds() const;
00038         void* getItem() const;
00039 };
00040 
00041 
00042 } // namespace geos::index::strtree
00043 } // namespace geos::index
00044 } // namespace geos
00045 
00046 #endif // GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H
00047 
00048 /**********************************************************************
00049  * $Log$
00050  * Revision 1.1  2006/03/21 10:47:34  strk
00051  * indexStrtree.h split
00052  *
00053  **********************************************************************/
00054 

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