MCPcopy Create free account
hub / github.com/avast/retdec / SetText

Method SetText

deps/tinyxml2/tinyxml2.cpp:1633–1641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1631
1632
1633void XMLElement::SetText( const char* inText )
1634{
1635 if ( FirstChild() && FirstChild()->ToText() )
1636 FirstChild()->SetValue( inText );
1637 else {
1638 XMLText* theText = GetDocument()->NewText( inText );
1639 InsertFirstChild( theText );
1640 }
1641}
1642
1643
1644void XMLElement::SetText( int v )

Callers

nothing calls this directly

Calls 4

FirstChildFunction · 0.85
GetDocumentFunction · 0.85
SetValueMethod · 0.80
NewTextMethod · 0.80

Tested by

no test coverage detected