MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / NewDeclaration

Method NewDeclaration

Source/ThirdParty/tinyxml2/tinyxml2.cpp:2110–2115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

ShallowCloneMethod · 0.80

Calls 1

SetValueMethod · 0.80

Tested by

no test coverage detected