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

Function writeScalar

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

Source from the content-addressed store, hash-verified

5484{ cvWriteString( *fs, name.size() ? name.c_str() : 0, value.c_str() ); }
5485
5486void writeScalar(FileStorage& fs, int value )
5487{ cvWriteInt( *fs, 0, value ); }
5488
5489void writeScalar(FileStorage& fs, float value )
5490{ cvWriteReal( *fs, 0, value ); }

Callers 1

writeFunction · 0.85

Calls 4

cvWriteIntFunction · 0.85
cvWriteRealFunction · 0.85
cvWriteStringFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected