MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / PushText

Method PushText

externals/tinyxml2/tinyxml2.cpp:2858–2871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2856
2857
2858void XMLPrinter::PushText( const char* text, bool cdata )
2859{
2860 _textDepth = _depth-1;
2861
2862 SealElementIfJustOpened();
2863 if ( cdata ) {
2864 Write( "<![CDATA[" );
2865 Write( text );
2866 Write( "]]>" );
2867 }
2868 else {
2869 PrintString( text, true );
2870 }
2871}
2872
2873
2874void XMLPrinter::PushText( int64_t value )

Callers 1

toXMLMethod · 0.80

Calls 1

WriteFunction · 0.85

Tested by

no test coverage detected