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

Method NewElement

sourcecommon/tinyxml2.cpp:1660–1666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1658
1659
1660XMLElement* XMLDocument::NewElement( const char* name )
1661{
1662 XMLElement* ele = new (_elementPool.Alloc()) XMLElement( this );
1663 ele->_memPool = &_elementPool;
1664 ele->SetName( name );
1665 return ele;
1666}
1667
1668
1669XMLComment* XMLDocument::NewComment( const char* str )

Callers 10

ShallowCloneMethod · 0.80
wsMethod · 0.80
wiMethod · 0.80
wdMethod · 0.80
wbMethod · 0.80
SaveMethod · 0.80
SaveMethod · 0.80
SaveMethod · 0.80
SaveMethod · 0.80
SaveMethod · 0.80

Calls 2

AllocMethod · 0.80
SetNameMethod · 0.80

Tested by

no test coverage detected