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

Method releaseAndGetString

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

Source from the content-addressed store, hash-verified

5210}
5211
5212string FileStorage::releaseAndGetString()
5213{
5214 string buf;
5215 buf.reserve(16); // HACK: Work around for compiler bug
5216 if( fs.obj && fs.obj->outbuf )
5217 icvClose(fs.obj, &buf);
5218
5219 release();
5220 return buf;
5221}
5222
5223FileNode FileStorage::root(int streamidx) const
5224{

Callers

nothing calls this directly

Calls 2

icvCloseFunction · 0.85
reserveMethod · 0.45

Tested by

no test coverage detected