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

Method getMemberNames

runtime/3rdparty/jsoncpp/jsoncpp.cpp:3946–3961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3944}
3945
3946Value::Members Value::getMemberNames() const
3947{
3948 JSON_ASSERT_MESSAGE(type() == nullValue || type() == objectValue,
3949 "in Json::Value::getMemberNames(), value must be objectValue");
3950 if (type() == nullValue)
3951 return Value::Members();
3952 Members members;
3953 members.reserve(value_.map_->size());
3954 ObjectValues::const_iterator it = value_.map_->begin();
3955 ObjectValues::const_iterator itEnd = value_.map_->end();
3956 for (; it != itEnd; ++it)
3957 {
3958 members.push_back(String((*it).first.data(), (*it).first.length()));
3959 }
3960 return members;
3961}
3962
3963static bool IsIntegral(double d)
3964{

Callers 4

writeMethod · 0.80
initMethod · 0.80
read_layer_params_setFunction · 0.80
writeValueMethod · 0.80

Calls 8

push_backMethod · 0.80
typeFunction · 0.50
StringFunction · 0.50
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected