MCPcopy Create free account
hub / github.com/ValveSoftware/Proton / key

Method key

vrclient_x64/jsoncpp.cpp:2327–2335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2325}
2326
2327Value ValueIteratorBase::key() const {
2328 const Value::CZString czstring = (*current_).first;
2329 if (czstring.data()) {
2330 if (czstring.isStaticString())
2331 return Value(StaticString(czstring.data()));
2332 return Value(czstring.data(), czstring.data() + czstring.length());
2333 }
2334 return Value(czstring.index());
2335}
2336
2337UInt ValueIteratorBase::index() const {
2338 const Value::CZString czstring = (*current_).first;

Callers

nothing calls this directly

Calls 6

dataMethod · 0.80
isStaticStringMethod · 0.80
lengthMethod · 0.80
indexMethod · 0.80
ValueClass · 0.50
StaticStringClass · 0.50

Tested by

no test coverage detected