MCPcopy Create free account
hub / github.com/Samsung/UTopia / getMemberNames

Method getMemberNames

external/jsoncpp/jsoncpp.cpp:3640–3654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3638#endif
3639
3640Value::Members Value::getMemberNames() const {
3641 JSON_ASSERT_MESSAGE(
3642 type() == nullValue || type() == objectValue,
3643 "in Json::Value::getMemberNames(), value must be objectValue");
3644 if (type() == nullValue)
3645 return Value::Members();
3646 Members members;
3647 members.reserve(value_.map_->size());
3648 ObjectValues::const_iterator it = value_.map_->begin();
3649 ObjectValues::const_iterator itEnd = value_.map_->end();
3650 for (; it != itEnd; ++it) {
3651 members.push_back(String((*it).first.data(), (*it).first.length()));
3652 }
3653 return members;
3654}
3655//
3656//# ifdef JSON_USE_CPPTL
3657// EnumMemberNames

Callers 15

loadMethod · 0.80
fromJsonMethod · 0.80
saveReportMethod · 0.80
fromJsonMethod · 0.80
fromJsonMethod · 0.80
dumpMethod · 0.80
fromJsonMethod · 0.80
dumpMethod · 0.80
fromJsonMethod · 0.80
fromJsonMethod · 0.80
fromJsonMethod · 0.80
fromJsonMethod · 0.80

Calls 5

sizeMethod · 0.80
beginMethod · 0.80
endMethod · 0.80
dataMethod · 0.80
lengthMethod · 0.80

Tested by

no test coverage detected