xsi/WKBWriter.xsi

filter: Statementstmt 53.3% 8 / 15 Branchbran 32.1% 9 / 28 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 39.5% 17 / 43 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xsi/GeometryCollection.xsi ↑ Summary src/mapbox/earcut.hpp »
1 MODULE = Geo::Geos PACKAGE = Geo::Geos::WKBWriter
2 PROTOTYPES: DISABLE
3  
4 WKBWriter* new(SV*, int dims=2, int bo = getMachineByteOrder(), bool includeSRID=false) {
5 6 RETVAL = new WKBWriter(dims, bo, includeSRID);
6 6 ▶}
Branch: 4 branches
BranchTrueFalseTotal
} 6 0 6
} 6 0 6
} 6 0 6
} 0 0 0
7  
8 0 ▶int WKBWriter::getOutputDimension()
Branch: 1 branch
BranchTrueFalseTotal
int WKBWriter::getOutputDimension() 0 0 0
9  
10 0 void WKBWriter::setOutputDimension(int newOutputDimension)
11  
12 0 ▶int WKBWriter::getByteOrder()
Branch: 1 branch
BranchTrueFalseTotal
int WKBWriter::getByteOrder() 0 0 0
13  
14 0 void WKBWriter::setByteOrder(int newByteOrder)
15  
16 0 ▶int WKBWriter::getIncludeSRID()
Branch: 1 branch
BranchTrueFalseTotal
int WKBWriter::getIncludeSRID() 0 0 0
17  
18 0 void WKBWriter::setIncludeSRID(int newIncludeSRID)
19  
20 std::string WKBWriter::write(Geometry& g) {
21 3 ▶ std::ostringstream out;
Branch: 1 branch
BranchTrueFalseTotal
std::ostringstream out; 3 0 3
22 3 ▶ THIS->write(g, out);
Branch: 1 branch
BranchTrueFalseTotal
THIS->write(g, out); 3 0 3
23 3 ▶ RETVAL = out.str();
Branch: 1 branch
BranchTrueFalseTotal
RETVAL = out.str(); 3 0 3
24 }
25  
26 std::string WKBWriter::writeHEX(Geometry& g) {
27 3 ▶ std::ostringstream out;
Branch: 1 branch
BranchTrueFalseTotal
std::ostringstream out; 3 0 3
28 3 ▶ THIS->writeHEX(g, out);
Branch: 1 branch
BranchTrueFalseTotal
THIS->writeHEX(g, out); 3 0 3
29 3 ▶ RETVAL = out.str();
Branch: 1 branch
BranchTrueFalseTotal
RETVAL = out.str(); 3 0 3
30 }
31  
32 0 ▶int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; }
Branch: 1 branch
BranchTrueFalseTotal
int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; } 0 0 0
« xsi/GeometryCollection.xsi ↑ Summary src/mapbox/earcut.hpp »