MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / EndElementHandler

Function EndElementHandler

xmpsdk/src/ExpatAdapter.cpp:348–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346// =================================================================================================
347
348static void EndElementHandler ( void * userData, XMP_StringPtr name )
349{
350 IgnoreParam(name);
351
352 ExpatAdapter * thiz = (ExpatAdapter*)userData;
353
354 #if XMP_DebugBuild
355 --thiz->elemNesting;
356 #endif
357 (void) thiz->parseStack.pop_back();
358
359 #if XMP_DebugBuild & DumpXMLParseEvents
360 if ( thiz->parseLog != 0 ) {
361 PrintIndent ( thiz->parseLog, thiz->elemNesting );
362 fprintf ( thiz->parseLog, "EndElement: %s\n", name );
363 }
364 #endif
365
366} // EndElementHandler
367
368// =================================================================================================
369

Callers

nothing calls this directly

Calls 1

PrintIndentFunction · 0.85

Tested by

no test coverage detected