MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / SetText

Method SetText

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1465–1473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1463
1464
1465void XMLElement::SetText( const char* inText )
1466{
1467 if ( FirstChild() && FirstChild()->ToText() )
1468 FirstChild()->SetValue( inText );
1469 else {
1470 XMLText* theText = GetDocument()->NewText( inText );
1471 InsertFirstChild( theText );
1472 }
1473}
1474
1475
1476void XMLElement::SetText( int v )

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected