| 1 |
|
| MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::SimpleNoder |
| 2 |
|
| PROTOTYPES: DISABLE |
| 3 |
|
| |
| 4 |
|
| Sv new(SV*, SV *newSegInt = NULL) { |
| 5 |
1 |
▶ | SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL; |
Branch: 2 branches
| Branch | True | False | Total |
| SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL; |
1 |
0 |
1 |
| SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL; |
1 |
0 |
1 |
|
| 6 |
1 |
▶ | Object self{xs::out<SimpleNoder*>(new SimpleNoder(si))}; |
Branch: 4 branches
| Branch | True | False | Total |
| Object self{xs::out<SimpleNoder*>(new SimpleNoder(si))}; |
1 |
0 |
1 |
| Object self{xs::out<SimpleNoder*>(new SimpleNoder(si))}; |
1 |
0 |
1 |
| Object self{xs::out<SimpleNoder*>(new SimpleNoder(si))}; |
1 |
0 |
1 |
| Object self{xs::out<SimpleNoder*>(new SimpleNoder(si))}; |
0 |
0 |
0 |
|
| 7 |
1 |
▶ | if (si) { |
Branch: 1 branch
| Branch | True | False | Total |
| if (si) { |
1 |
0 |
1 |
|
| 8 |
1 |
▶ | self.payload_attach(SvRV(newSegInt), &payload_marker); |
Branch: 1 branch
| Branch | True | False | Total |
| self.payload_attach(SvRV(newSegInt), &payload_marker); |
1 |
0 |
1 |
|
| 9 |
|
| } |
| 10 |
1 |
▶ | RETVAL = self.ref(); |
Branch: 2 branches
| Branch | True | False | Total |
| RETVAL = self.ref(); |
1 |
0 |
1 |
| RETVAL = self.ref(); |
1 |
0 |
1 |
|
| 11 |
|
| } |
| 12 |
|
| |
| 13 |
|
| |
| 14 |
0 |
▶ | int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; } |
Branch: 1 branch
| Branch | True | False | Total |
| int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; } |
0 |
0 |
0 |
|
| 15 |
|
| |
| 16 |
|
| BOOT { |
| 17 |
46 |
▶ | Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SinglePassNoder"); |
Branch: 2 branches
| Branch | True | False | Total |
| Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SinglePassNoder"); |
46 |
0 |
46 |
| Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SinglePassNoder"); |
46 |
0 |
46 |
|
| 18 |
|
| } |