line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
MODULE = Geo::Geos PACKAGE = Geo::Geos::Index::Quadtree |
2
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
Sv new(SV) { |
5
|
12
|
50
|
|
|
|
|
Object wrapped = xs::out(new quadtree::Quadtree()); |
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
6
|
6
|
50
|
|
|
|
|
auto payload = new SVs_map_payload(); |
|
|
50
|
|
|
|
|
|
7
|
6
|
50
|
|
|
|
|
wrapped.payload_attach(payload, &payload_marker_SVs_map); |
8
|
|
|
|
|
|
|
|
9
|
6
|
50
|
|
|
|
|
RETVAL = wrapped.ref(); |
|
|
50
|
|
|
|
|
|
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
1
|
50
|
|
|
|
|
int quadtree::Quadtree::depth () |
13
|
|
|
|
|
|
|
|
14
|
1
|
50
|
|
|
|
|
int quadtree::Quadtree::size () |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Array quadtree::Quadtree::queryAll() { |
17
|
12
|
50
|
|
|
|
|
Object me{ST(0)}; |
|
|
50
|
|
|
|
|
|
18
|
6
|
|
|
|
|
|
auto payload = me.payload(&payload_marker_SVs_map); |
19
|
6
|
|
|
|
|
|
auto real_payload = static_cast(payload.ptr); |
20
|
|
|
|
|
|
|
|
21
|
12
|
50
|
|
|
|
|
std::unique_ptr> holder {THIS->queryAll()}; |
|
|
50
|
|
|
|
|
|
22
|
6
|
50
|
|
|
|
|
RETVAL = Helper::wrap_inc_SVs(holder.get(), real_payload->map); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
2
|
50
|
|
|
|
|
std::string quadtree::Quadtree::toString (...) |
|
|
50
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
BOOT { |
28
|
46
|
50
|
|
|
|
|
Stash(__PACKAGE__).inherit("Geo::Geos::Index::SpatialIndex"); |
|
|
50
|
|
|
|
|
|
29
|
|
|
|
|
|
|
} |