| 1928 | |
| 1929 | |
| 1930 | void 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 | |
| 1941 | void XMLPrinter::OpenElement( const char* name, bool compactMode ) { |
nothing calls this directly
no outgoing calls
no test coverage detected