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

Method clear

runtime/3rdparty/jsoncpp/jsoncpp.cpp:3575–3590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3573Value::operator bool() const { return !isNull(); }
3574
3575void Value::clear()
3576{
3577 JSON_ASSERT_MESSAGE(type() == nullValue || type() == arrayValue || type() == objectValue,
3578 "in Json::Value::clear(): requires complex value");
3579 start_ = 0;
3580 limit_ = 0;
3581 switch (type())
3582 {
3583 case arrayValue:
3584 case objectValue:
3585 value_.map_->clear();
3586 break;
3587 default:
3588 break;
3589 }
3590}
3591
3592void Value::resize(ArrayIndex newSize)
3593{

Callers 15

mainFunction · 0.45
entryFunction · 0.45
createCheckpointDataMethod · 0.45
resetMethod · 0.45
createExecutionPlanMethod · 0.45
resetMethod · 0.45
handleMethod · 0.45

Calls 1

typeFunction · 0.50

Tested by 1

setBackendsMethod · 0.36