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

Function icvXMLEndWriteStruct

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

Source from the content-addressed store, hash-verified

2432
2433
2434static void
2435icvXMLEndWriteStruct( CvFileStorage* fs )
2436{
2437 CvXMLStackRecord parent;
2438
2439 if( fs->write_stack->total == 0 )
2440 CV_Error( CV_StsError, "An extra closing tag" );
2441
2442 icvXMLWriteTag( fs, fs->struct_tag.ptr, CV_XML_CLOSING_TAG, cvAttrList(0,0) );
2443 cvSeqPop( fs->write_stack, &parent );
2444
2445 fs->struct_indent = parent.struct_indent;
2446 fs->struct_flags = parent.struct_flags;
2447 fs->struct_tag = parent.struct_tag;
2448 cvRestoreMemStoragePos( fs->strstorage, &parent.pos );
2449}
2450
2451
2452static void

Callers 1

icvXMLStartNextStreamFunction · 0.85

Calls 3

icvXMLWriteTagFunction · 0.85
cvSeqPopFunction · 0.85
cvRestoreMemStoragePosFunction · 0.85

Tested by

no test coverage detected