MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / SetText

Method SetText

3rdparty/tinyxml2/tinyxml2.cpp:1707–1715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1705
1706
1707void XMLElement::SetText( const char* inText )
1708{
1709 if ( FirstChild() && FirstChild()->ToText() )
1710 FirstChild()->SetValue( inText );
1711 else {
1712 XMLText* theText = GetDocument()->NewText( inText );
1713 InsertFirstChild( theText );
1714 }
1715}
1716
1717
1718void XMLElement::SetText( int v )

Callers 1

addNodeModelToXMLFunction · 0.80

Calls 5

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

Tested by

no test coverage detected