MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / SetText

Method SetText

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1579–1587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1577
1578
1579void XMLElement::SetText( const char* inText )
1580{
1581 if ( FirstChild() && FirstChild()->ToText() )
1582 FirstChild()->SetValue( inText );
1583 else {
1584 XMLText* theText = GetDocument()->NewText( inText );
1585 InsertFirstChild( theText );
1586 }
1587}
1588
1589
1590void 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