MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / NewText

Method NewText

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1903–1910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1901
1902
1903XMLText* XMLDocument::NewText( const char* str )
1904{
1905 TIXMLASSERT( sizeof( XMLText ) == _textPool.ItemSize() );
1906 XMLText* text = new (_textPool.Alloc()) XMLText( this );
1907 text->_memPool = &_textPool;
1908 text->SetValue( str );
1909 return text;
1910}
1911
1912
1913XMLDeclaration* XMLDocument::NewDeclaration( const char* str )

Callers 2

ShallowCloneMethod · 0.80
SetTextMethod · 0.80

Calls 3

ItemSizeMethod · 0.45
AllocMethod · 0.45
SetValueMethod · 0.45

Tested by

no test coverage detected