MCPcopy Create free account
hub / github.com/cinder/Cinder / index

Method index

src/jsoncpp/jsoncpp.cpp:1388–1399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1386}
1387
1388UInt ValueIteratorBase::index() const {
1389#ifndef JSON_VALUE_USE_INTERNAL_MAP
1390 const Value::CZString czstring = (*current_).first;
1391 if (!czstring.c_str())
1392 return czstring.index();
1393 return Value::UInt(-1);
1394#else
1395 if (isArray_)
1396 return Value::UInt(ValueInternalArray::indexOf(iterator_.array_));
1397 return Value::UInt(-1);
1398#endif
1399}
1400
1401const char* ValueIteratorBase::memberName() const {
1402#ifndef JSON_VALUE_USE_INTERNAL_MAP

Callers 3

keyMethod · 0.45
sizeMethod · 0.45
filter_glyph_namesFunction · 0.45

Calls 2

indexOfFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected