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

Method toMetadata

pdal/Options.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53
54void Option::toMetadata(MetadataNode& parent) const
55{
56 std::string value = getValue();
57 parent.addWithType(getName(), value, Utils::inferJsonType(value));
58}
59
60
61bool Option::nameValid(const std::string& name, bool reportError)

Callers 7

TESTFunction · 0.45
initializeMethod · 0.45
doneMethod · 0.45
serializeMethod · 0.45
setSpatialReferenceMethod · 0.45
getSchemaMethod · 0.45
dumpSummaryMethod · 0.45

Calls 5

inferJsonTypeFunction · 0.85
getKeysFunction · 0.85
getValuesFunction · 0.85
getValueFunction · 0.70
getNameFunction · 0.50

Tested by 1

TESTFunction · 0.36