GEOS 3.3.4

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

IntervalRTreeLeafNode.h
1 /**********************************************************************
2 * $Id: IntervalRTreeLeafNode.h 2540 2009-06-05 09:28:04Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2006 Refractions Research Inc.
8 *
9 * This is free software; you can redistribute and/or modify it under
10 * the terms of the GNU Lesser General Public Licence as published
11 * by the Free Software Foundation.
12 * See the COPYING file for more information.
13 *
14 *
15 **********************************************************************/
16
17 #ifndef GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
18 #define GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
19
20
21 #include <geos/index/intervalrtree/IntervalRTreeNode.h> // inherited
22
23
24 // forward declarations
25 namespace geos {
26 namespace index {
27 class ItemVisitor;
28 }
29 }
30
31
32 namespace geos {
33 namespace index {
34 namespace intervalrtree {
35
36 class IntervalRTreeLeafNode : public IntervalRTreeNode
37 {
38 private:
40 void * item;
41
42 protected:
43 public:
44
46 IntervalRTreeLeafNode( double min, double max, void * item)
47 : IntervalRTreeNode( min, max),
48 item( item)
49 { }
50
51 ~IntervalRTreeLeafNode()
52 {
53 }
54
55 void query( double queryMin, double queryMax, index::ItemVisitor * visitor) const;
56
57 };
58
59 } // geos::intervalrtree
60 } // geos::index
61 } // geos
62
63 #endif // GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
64 /**********************************************************************
65 * $Log$
66 **********************************************************************/
67