MCPcopy Create free account
hub / github.com/LAStools/LAStools / flatten_groups

Function flatten_groups

src/lasinfo.cpp:480–491  ·  view source on GitHub ↗

Convert groups back into a key list

Source from the content-addressed store, hash-verified

478
479/// Convert groups back into a key list
480static std::vector<std::string> flatten_groups(const std::vector<KeyGroup>& groups) {
481 std::vector<std::string> out;
482
483 for (size_t i = 0; i < groups.size(); ++i) {
484 const KeyGroup& group = groups[i];
485 for (size_t k = 0; k < group.keys.size(); ++k) {
486 out.push_back(group.keys[k]);
487 }
488 }
489
490 return out;
491}
492
493/// Collect all keys from all FileMaps (mergen)
494static std::vector<std::string> collect_all_keys(const std::vector<FileMap>& all_files) {

Callers 1

collect_all_keysFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected