MCPcopy Create free account
hub / github.com/JayXon/Leanify / PushHeader

Method PushHeader

lib/tinyxml2/tinyxml2.cpp:2088–2097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2086
2087
2088void XMLPrinter::PushHeader( bool writeBOM, bool writeDec )
2089{
2090 if ( writeBOM ) {
2091 static const unsigned char bom[] = { TIXML_UTF_LEAD_0, TIXML_UTF_LEAD_1, TIXML_UTF_LEAD_2, 0 };
2092 Print( "%s", bom );
2093 }
2094 if ( writeDec ) {
2095 PushDeclaration( "xml version=\"1.0\"" );
2096 }
2097}
2098
2099
2100void XMLPrinter::OpenElement( const char* name, bool compactMode )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected