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

Function add

pdal/Metadata.hpp:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 }
87
88 MetadataNodeImplPtr add(const std::string& name)
89 {
90 MetadataNodeImplPtr sub(new MetadataNodeImpl(name));
91 MetadataImplList& l = m_subnodes[name];
92 l.push_back(sub);
93 if (l.size() > 1)
94 makeArray(l);
95 return sub;
96 }
97
98 MetadataNodeImplPtr addList(const std::string& name)
99 {

Callers 1

addOrUpdateFunction · 0.70

Calls 5

makeArrayFunction · 0.85
MetadataNodeFunction · 0.70
sizeMethod · 0.45
addMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected