MCPcopy Create free account
hub / github.com/Illumina/paragraph / getMemberNames

Method getMemberNames

external/jsoncpp/jsoncpp.cpp:3724–3739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3722#endif
3723
3724Value::Members Value::getMemberNames() const {
3725 JSON_ASSERT_MESSAGE(
3726 type_ == nullValue || type_ == objectValue,
3727 "in Json::Value::getMemberNames(), value must be objectValue");
3728 if (type_ == nullValue)
3729 return Value::Members();
3730 Members members;
3731 members.reserve(value_.map_->size());
3732 ObjectValues::const_iterator it = value_.map_->begin();
3733 ObjectValues::const_iterator itEnd = value_.map_->end();
3734 for (; it != itEnd; ++it) {
3735 members.push_back(JSONCPP_STRING((*it).first.data(),
3736 (*it).first.length()));
3737 }
3738 return members;
3739}
3740//
3741//# ifdef JSON_USE_CPPTL
3742// EnumMemberNames

Callers 9

addAlignmentMethod · 0.80
setFromJsonMethod · 0.80
setGenotypeFractionsMethod · 0.80
loadMethod · 0.80
test_paragraph.cppFile · 0.80
TESTFunction · 0.80
validateMethod · 0.80
writeValueMethod · 0.80

Calls 5

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

Tested by 1

TESTFunction · 0.64