MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / SetText

Method SetText

Dependencies/tinyxml2/src/tinyxml2.cpp:1586–1594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1584
1585
1586void XMLElement::SetText( const char* inText )
1587{
1588 if ( FirstChild() && FirstChild()->ToText() )
1589 FirstChild()->SetValue( inText );
1590 else {
1591 XMLText* theText = GetDocument()->NewText( inText );
1592 InsertFirstChild( theText );
1593 }
1594}
1595
1596
1597void XMLElement::SetText( int v )

Callers 13

SerializeBooleanMethod · 0.80
SerializeStringMethod · 0.80
SerializeFloatMethod · 0.80
SerializeDoubleMethod · 0.80
SerializeIntMethod · 0.80
SerializeUint32Method · 0.80
SerializeInt64Method · 0.80
SerializeVec2Method · 0.80
SerializeVec3Method · 0.80
SerializeVec4Method · 0.80
SerializeMat4Method · 0.80
SerializeQuatMethod · 0.80

Calls 4

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

Tested by

no test coverage detected