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

Method HasValueStr

src/wktparser.cpp:226–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226bool WktParser::HasValueStr(const std::string& key, std::string& val) {
227 if (auto search = map.find(to_lower_copy(key)); search != map.end()) {
228 val = search->second; // e.g. "EPSG|123"
229 return true;
230 } else {
231 return false;
232 }
233}
234
235std::string WktParser::ValueStr(const std::string& key) {
236 std::string result;

Callers

nothing calls this directly

Calls 2

to_lower_copyFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected