MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / getMemberNames

Method getMemberNames

src/share/jsoncpp/jsoncpp.cpp:3676–3691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3674#endif
3675
3676Value::Members Value::getMemberNames() const {
3677 JSON_ASSERT_MESSAGE(
3678 type_ == nullValue || type_ == objectValue,
3679 "in Json::Value::getMemberNames(), value must be objectValue");
3680 if (type_ == nullValue)
3681 return Value::Members();
3682 Members members;
3683 members.reserve(value_.map_->size());
3684 ObjectValues::const_iterator it = value_.map_->begin();
3685 ObjectValues::const_iterator itEnd = value_.map_->end();
3686 for (; it != itEnd; ++it) {
3687 members.push_back(JSONCPP_STRING((*it).first.data(),
3688 (*it).first.length()));
3689 }
3690 return members;
3691}
3692//
3693//# ifdef JSON_USE_CPPTL
3694// EnumMemberNames

Callers 4

fromJsonMethod · 0.80
validateMethod · 0.80
writeValueMethod · 0.80
getEndPointsMethod · 0.80

Calls 5

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

Tested by

no test coverage detected