| 1983 | |
| 1984 | |
| 1985 | void 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 | |
| 1997 | void XMLPrinter::OpenElement( const char* name, bool compactMode ) |
nothing calls this directly
no outgoing calls
no test coverage detected