MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / SetText

Method SetText

ReClass/tinyxml2.cpp:1581–1589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1579
1580
1581void XMLElement::SetText( const char* inText )
1582{
1583 if ( FirstChild() && FirstChild()->ToText() )
1584 FirstChild()->SetValue( inText );
1585 else {
1586 XMLText* theText = GetDocument()->NewText( inText );
1587 InsertFirstChild( theText );
1588 }
1589}
1590
1591
1592void XMLElement::SetText( int v )

Callers 4

OnAttachButtonMethod · 0.45
OnInitDialogMethod · 0.45
OnFileEditoropenMethod · 0.45
OnInitDialogMethod · 0.45

Calls 4

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

Tested by

no test coverage detected