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

Method NewDeclaration

Dependencies/tinyxml2/src/tinyxml2.cpp:2115–2120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2113
2114
2115XMLDeclaration* XMLDocument::NewDeclaration( const char* str )
2116{
2117 XMLDeclaration* dec = CreateUnlinkedNode<XMLDeclaration>( _commentPool );
2118 dec->SetValue( str ? str : "xml version=\"1.0\" encoding=\"UTF-8\"" );
2119 return dec;
2120}
2121
2122
2123XMLUnknown* XMLDocument::NewUnknown( const char* str )

Callers 1

ShallowCloneMethod · 0.80

Calls 1

SetValueMethod · 0.80

Tested by

no test coverage detected