MCPcopy Create free account
hub / github.com/Samsung/ONE / key

Method key

runtime/3rdparty/jsoncpp/jsoncpp.cpp:2528–2538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2526}
2527
2528Value ValueIteratorBase::key() const
2529{
2530 const Value::CZString czstring = (*current_).first;
2531 if (czstring.data())
2532 {
2533 if (czstring.isStaticString())
2534 return Value(StaticString(czstring.data()));
2535 return Value(czstring.data(), czstring.data() + czstring.length());
2536 }
2537 return Value(czstring.index());
2538}
2539
2540UInt ValueIteratorBase::index() const
2541{

Callers 1

KeyCompareLessThanFunction · 0.80

Calls 6

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

Tested by

no test coverage detected