MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / OpenElement

Method OpenElement

externals/tinyxml2/tinyxml2.cpp:2748–2758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2746}
2747
2748void XMLPrinter::OpenElement( const char* name, bool compactMode )
2749{
2750 PrepareForNewNode( compactMode );
2751 _stack.Push( name );
2752
2753 Write ( "<" );
2754 Write ( name );
2755
2756 _elementJustOpened = true;
2757 ++_depth;
2758}
2759
2760
2761void XMLPrinter::PushAttribute( const char* name, const char* value )

Callers 2

getXMLHeaderMethod · 0.80
toXMLMethod · 0.80

Calls 2

WriteFunction · 0.85
PushMethod · 0.80

Tested by

no test coverage detected