GEOS: ItemBoundable.h Source File

GEOS 3.3.8

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

- File List

ItemBoundable.h
1 /**********************************************************************
2 * $Id: ItemBoundable.h 2556 2009-06-06 22:22:28Z 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 #ifndef GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H
16 #define GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H
17
18 #include <geos/export.h>
19
20 #include <geos/index/strtree/Boundable.h> // for inheritance
21
22 namespace geos {
23 namespace index { // geos::index
24 namespace strtree { // geos::index::strtree
25
33 class GEOS_DLL ItemBoundable: public Boundable
34 {
35 public:
36
37 ItemBoundable(const void* newBounds, void* newItem);
38 virtual ~ItemBoundable();
39
40 const void* getBounds() const;
41 void* getItem() const;
42
43 private:
44
45 const void* bounds;
46 void* item;
47 };
48
49 } // namespace geos::index::strtree
50 } // namespace geos::index
51 } // namespace geos
52
53 #endif // GEOS_INDEX_STRTREE_ITEMBOUNDABLE_H
54
55 /**********************************************************************
56 * $Log$
57 * Revision 1.1 2006/03/21 10:47:34 strk
58 * indexStrtree.h split
59 *
60 **********************************************************************/
61