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

Method PushText

sourcecommon/tinyxml2.cpp:2092–2107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2090
2091
2092void XMLPrinter::PushText( const char* text, bool cdata )
2093{
2094 _textDepth = _depth-1;
2095
2096 if ( _elementJustOpened ) {
2097 SealElement();
2098 }
2099 if ( cdata ) {
2100 Print( "<![CDATA[" );
2101 Print( "%s", text );
2102 Print( "]]>" );
2103 }
2104 else {
2105 PrintString( text, true );
2106 }
2107}
2108
2109void XMLPrinter::PushText( int value )
2110{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected