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

Function generateSoftwareId

io/private/las/Utils.cpp:396–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396std::string generateSoftwareId()
397{
398 std::string ver(Config::versionString());
399 std::stringstream oss;
400 std::ostringstream revs;
401 revs << Config::sha1();
402 oss << "PDAL " << ver << " (" << revs.str().substr(0, 6) <<")";
403 return oss.str();
404}
405
406// Throws las::error. Be sure to catch it.
407// 'allOk' accepts the keyword 'all'.

Callers 3

addArgsMethod · 0.85
addArgsMethod · 0.85
GetDefaultSoftwareIdFunction · 0.85

Calls 3

versionStringFunction · 0.85
sha1Function · 0.85
strMethod · 0.80

Tested by

no test coverage detected