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

Method PushComment

sourcecommon/tinyxml2.cpp:2149–2160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2147
2148
2149void 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
2163void XMLPrinter::PushDeclaration( const char* value )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected