MCPcopy Create free account
hub / github.com/creatale/node-dv / WriteStructContext

Method WriteStructContext

deps/opencv/modules/core/src/persistence.cpp:5521–5526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5519
5520
5521WriteStructContext::WriteStructContext(FileStorage& _fs, const string& name,
5522 int flags, const string& typeName) : fs(&_fs)
5523{
5524 cvStartWriteStruct(**fs, !name.empty() ? name.c_str() : 0, flags,
5525 !typeName.empty() ? typeName.c_str() : 0);
5526}
5527
5528WriteStructContext::~WriteStructContext() { cvEndWriteStruct(**fs); }
5529

Callers

nothing calls this directly

Calls 3

cvStartWriteStructFunction · 0.85
emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected