line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
/********************************************************************** |
2
|
|
|
|
|
|
|
* |
3
|
|
|
|
|
|
|
* GEOS - Geometry Engine Open Source |
4
|
|
|
|
|
|
|
* http://geos.osgeo.org |
5
|
|
|
|
|
|
|
* |
6
|
|
|
|
|
|
|
* Copyright (C) 2006 Refractions Research Inc. |
7
|
|
|
|
|
|
|
* Copyright (C) 2001-2002 Vivid Solutions 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
|
|
|
|
|
|
|
#ifndef GEOS_INDEX_ITEMVISITOR_H |
17
|
|
|
|
|
|
|
#define GEOS_INDEX_ITEMVISITOR_H |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
#include |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
namespace geos { |
22
|
|
|
|
|
|
|
namespace index { |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
/** \brief |
25
|
|
|
|
|
|
|
* A visitor for items in an index. |
26
|
|
|
|
|
|
|
* |
27
|
|
|
|
|
|
|
* Last port: index/ItemVisitor.java rev. 1.2 (JTS-1.7) |
28
|
|
|
|
|
|
|
*/ |
29
|
2
|
|
|
|
|
|
class GEOS_DLL ItemVisitor { |
30
|
|
|
|
|
|
|
public: |
31
|
|
|
|
|
|
|
virtual void visitItem(void *)=0; |
32
|
|
|
|
|
|
|
|
33
|
4
|
50
|
|
|
|
|
virtual ~ItemVisitor() {} |
34
|
|
|
|
|
|
|
}; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
} // namespace geos.index |
37
|
|
|
|
|
|
|
} // namespace geos |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
#endif // GEOS_INDEX_ITEMVISITOR_H |
40
|
|
|
|
|
|
|
|