MCPcopy Create free account
hub / github.com/crossuo/crossuo / SetText

Method SetText

external/tinyxml2.cpp:1660–1668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1658
1659
1660void XMLElement::SetText( const char* inText )
1661{
1662 if ( FirstChild() && FirstChild()->ToText() )
1663 FirstChild()->SetValue( inText );
1664 else {
1665 XMLText* theText = GetDocument()->NewText( inText );
1666 InsertFirstChild( theText );
1667 }
1668}
1669
1670
1671void 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