MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / NewDeclaration

Method NewDeclaration

sourcecommon/tinyxml2.cpp:1687–1693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1685
1686
1687XMLDeclaration* XMLDocument::NewDeclaration( const char* str )
1688{
1689 XMLDeclaration* dec = new (_commentPool.Alloc()) XMLDeclaration( this );
1690 dec->_memPool = &_commentPool;
1691 dec->SetValue( str ? str : "xml version=\"1.0\" encoding=\"UTF-8\"" );
1692 return dec;
1693}
1694
1695
1696XMLUnknown* XMLDocument::NewUnknown( const char* str )

Callers 5

ShallowCloneMethod · 0.80
SaveMethod · 0.80
SaveMethod · 0.80
SaveMethod · 0.80
SaveMethod · 0.80

Calls 2

AllocMethod · 0.80
SetValueMethod · 0.80

Tested by

no test coverage detected