| 2086 | |
| 2087 | |
| 2088 | void 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 | |
| 2100 | void XMLPrinter::OpenElement( const char* name, bool compactMode ) |
nothing calls this directly
no outgoing calls
no test coverage detected