MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / NewText

Method NewText

src/xml/tinyxml2.cpp:1613–1619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1611
1612
1613XMLText* XMLDocument::NewText( const char* str ) {
1614 TIXMLASSERT( sizeof( XMLText ) == _textPool.ItemSize() );
1615 XMLText* text = new (_textPool.Alloc()) XMLText( this );
1616 text->_memPool = &_textPool;
1617 text->SetValue( str );
1618 return text;
1619}
1620
1621
1622XMLDeclaration* XMLDocument::NewDeclaration( const char* str ) {

Callers 2

ShallowCloneMethod · 0.80
SetTextMethod · 0.80

Calls 3

ItemSizeMethod · 0.80
AllocMethod · 0.80
SetValueMethod · 0.80

Tested by

no test coverage detected