MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / PushHeader

Method PushHeader

src/xml/tinyxml2.cpp:1930–1938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1928
1929
1930void XMLPrinter::PushHeader( bool writeBOM, bool writeDec ) {
1931 if ( writeBOM ) {
1932 static const unsigned char bom[] = { TIXML_UTF_LEAD_0, TIXML_UTF_LEAD_1, TIXML_UTF_LEAD_2, 0 };
1933 Print( "%s", bom );
1934 }
1935 if ( writeDec ) {
1936 PushDeclaration( "xml version=\"1.0\"" );
1937 }
1938}
1939
1940
1941void XMLPrinter::OpenElement( const char* name, bool compactMode ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected