MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / PushHeader

Method PushHeader

sourcecommon/tinyxml2.cpp:1985–1994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1983
1984
1985void XMLPrinter::PushHeader( bool writeBOM, bool writeDec )
1986{
1987 if ( writeBOM ) {
1988 static const unsigned char bom[] = { TIXML_UTF_LEAD_0, TIXML_UTF_LEAD_1, TIXML_UTF_LEAD_2, 0 };
1989 Print( "%s", bom );
1990 }
1991 if ( writeDec ) {
1992 PushDeclaration( "xml version=\"1.0\"" );
1993 }
1994}
1995
1996
1997void XMLPrinter::OpenElement( const char* name, bool compactMode )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected