MCPcopy Create free account
hub / github.com/PDAL/PDAL / makeFilename

Function makeFilename

kernels/SplitKernel.cpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83namespace
84{
85std::string makeFilename(const std::string& s, int i)
86{
87 std::string out = s;
88 auto pos = out.find_last_of('.');
89 if (pos == out.npos)
90 pos = out.length();
91 out.insert(pos, std::string("_") + std::to_string(i));
92 return out;
93}
94}
95
96

Callers 1

executeMethod · 0.85

Calls 2

lengthMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected