MCPcopy Create free account
hub / github.com/Kitware/VTK / initBasic

Method initBasic

ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:3406–3412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3404}
3405
3406void Value::initBasic(ValueType type, bool allocated) {
3407 setType(type);
3408 setIsAllocated(allocated);
3409 comments_ = Comments{};
3410 start_ = 0;
3411 limit_ = 0;
3412}
3413
3414void Value::dupPayload(const Value& other) {
3415 setType(other.type());

Callers

nothing calls this directly

Calls 1

setIsAllocatedFunction · 0.85

Tested by

no test coverage detected