| 2147 | |
| 2148 | |
| 2149 | void XMLPrinter::PushComment( const char* comment ) |
| 2150 | { |
| 2151 | if ( _elementJustOpened ) { |
| 2152 | SealElement(); |
| 2153 | } |
| 2154 | if ( _textDepth < 0 && !_firstElement && !_compactMode) { |
| 2155 | Print( "\n" ); |
| 2156 | PrintSpace( _depth ); |
| 2157 | } |
| 2158 | _firstElement = false; |
| 2159 | Print( "<!--%s-->", comment ); |
| 2160 | } |
| 2161 | |
| 2162 | |
| 2163 | void XMLPrinter::PushDeclaration( const char* value ) |
nothing calls this directly
no outgoing calls
no test coverage detected