MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / SetText

Method SetText

sourcecommon/tinyxml2.cpp:1267–1275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1265
1266
1267void XMLElement::SetText( const char* inText )
1268{
1269 if ( FirstChild() && FirstChild()->ToText() )
1270 FirstChild()->SetValue( inText );
1271 else {
1272 XMLText* theText = GetDocument()->NewText( inText );
1273 InsertFirstChild( theText );
1274 }
1275}
1276
1277
1278void XMLElement::SetText( int v )

Callers 4

wsMethod · 0.80
wiMethod · 0.80
wdMethod · 0.80
wbMethod · 0.80

Calls 4

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

Tested by

no test coverage detected