IntervalRTreeLeafNode.h

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  **********************************************************************/
00015 
00016 #ifndef GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
00017 #define GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
00018 
00019 
00020 #include <geos/index/intervalrtree/IntervalRTreeNode.h> // inherited
00021 
00022 
00023 // forward declarations
00024 namespace geos {
00025         namespace index {
00026                 class ItemVisitor;
00027         }
00028 }
00029 
00030 
00031 namespace geos {
00032 namespace index {
00033 namespace intervalrtree {
00034 
00035 class IntervalRTreeLeafNode : public IntervalRTreeNode
00036 {
00037 private:
00039         void * item;
00040 
00041 protected:
00042 public:
00043 
00045         IntervalRTreeLeafNode( double min, double max, void * item)
00046         :       IntervalRTreeNode( min, max),
00047                 item( item)
00048         { }
00049 
00050         ~IntervalRTreeLeafNode()
00051         {
00052         }
00053         
00054         void query( double queryMin, double queryMax, index::ItemVisitor * visitor) const;
00055 
00056 };
00057 
00058 } // geos::intervalrtree
00059 } // geos::index
00060 } // geos
00061 
00062 #endif // GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H

Generated on 30 Dec 2015 for GEOS by  doxygen 1.4.7