MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / NewDeclaration

Method NewDeclaration

ReClass/tinyxml2.cpp:2111–2116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

SaveXMLMethod · 0.80
ShallowCloneMethod · 0.80

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected