MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / getQueryValue

Method getQueryValue

CesiumUtility/src/Uri.cpp:247–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247std::string Uri::getQueryValue(const std::string& uri, const std::string& key) {
248 Uri parsedUri(uri);
249 if (!parsedUri.isValid()) {
250 return {};
251 }
252
253 return std::string(UriQuery(parsedUri).getValue(key).value_or(""));
254}
255
256// NOLINTEND(bugprone-unchecked-optional-access)
257

Callers

nothing calls this directly

Calls 3

UriQueryClass · 0.85
isValidMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected