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

Method NewText

external/tinyxml2.cpp:2227–2232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2225
2226
2227XMLText* XMLDocument::NewText( const char* str )
2228{
2229 XMLText* text = CreateUnlinkedNode<XMLText>( _textPool );
2230 text->SetValue( str );
2231 return text;
2232}
2233
2234
2235XMLDeclaration* XMLDocument::NewDeclaration( const char* str )

Callers 2

ShallowCloneMethod · 0.80
SetTextMethod · 0.80

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected