MCPcopy Create free account
hub / github.com/Kitware/VTK / key

Method key

ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:2335–2343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2333}
2334
2335Value ValueIteratorBase::key() const {
2336 const Value::CZString czstring = (*current_).first;
2337 if (czstring.data()) {
2338 if (czstring.isStaticString())
2339 return Value(StaticString(czstring.data()));
2340 return Value(czstring.data(), czstring.data() + czstring.length());
2341 }
2342 return Value(czstring.index());
2343}
2344
2345UInt ValueIteratorBase::index() const {
2346 const Value::CZString czstring = (*current_).first;

Callers 12

LoadPrimitiveMethod · 0.45
addCachedRangeFunction · 0.45
FromJSONMethod · 0.45
JsonEqualFunction · 0.45
eventMethod · 0.45
from_jsonFunction · 0.45
eraseMethod · 0.45
_GetKeyCharAndKeySymMethod · 0.45
ImportFromJSONMethod · 0.45
PruneUnusedBlobsMethod · 0.45

Calls 6

isStaticStringMethod · 0.80
ValueFunction · 0.50
StaticStringClass · 0.50
dataMethod · 0.45
lengthMethod · 0.45
indexMethod · 0.45

Tested by 1

JsonEqualFunction · 0.36