GEOS: IntervalRTreeLeafNode.h Source File

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

- File List

# IntervalRTreeLeafNode.h

    00001 /**********************************************************************
    00002  * $Id: IntervalRTreeLeafNode.h 2540 2009-06-05 09:28:04Z 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
    00017 #ifndef GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
    00018 #define GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
    00019
    00020
    00021 #include <geos/index/intervalrtree/IntervalRTreeNode.h> // inherited
    00022
    00023
    00024 // forward declarations
    00025 namespace geos {
    00026         namespace index {
    00027                 class ItemVisitor;
    00028         }
    00029 }
    00030
    00031
    00032 namespace geos {
    00033 namespace index {
    00034 namespace intervalrtree {
    00035
    00036 class IntervalRTreeLeafNode : public IntervalRTreeNode
    00037 {
    00038 private:
    00040         void * item;
    00041
    00042 protected:
    00043 public:
    00044
    00046         IntervalRTreeLeafNode( double min, double max, void * item)
    00047         :       IntervalRTreeNode( min, max),
    00048                 item( item)
    00049         { }
    00050
    00051         ~IntervalRTreeLeafNode()
    00052         {
    00053         }
    00054
    00055         void query( double queryMin, double queryMax, index::ItemVisitor * visitor) const;
    00056
    00057 };
    00058
    00059 } // geos::intervalrtree
    00060 } // geos::index
    00061 } // geos
    00062
    00063 #endif // GEOS_INDEX_INTERVALRTREE_INTERVALRTREELEAFNODE_H
    00064 /**********************************************************************
    00065  * $Log$
    00066  **********************************************************************/
    00067