MCPcopy Create free account
hub / github.com/Norbyte/bg3se / SetText

Method SetText

CoreLib/tinyxml2.cpp:1675–1683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1673
1674
1675void XMLElement::SetText( const char* inText )
1676{
1677 if ( FirstChild() && FirstChild()->ToText() )
1678 FirstChild()->SetValue( inText );
1679 else {
1680 XMLText* theText = GetDocument()->NewText( inText );
1681 InsertFirstChild( theText );
1682 }
1683}
1684
1685
1686void XMLElement::SetText( int v )

Callers

nothing calls this directly

Calls 4

FirstChildFunction · 0.70
GetDocumentFunction · 0.70
SetValueMethod · 0.45
NewTextMethod · 0.45

Tested by

no test coverage detected