| 1749 | |
| 1750 | |
| 1751 | XMLText* XMLDocument::NewText( const char* str ) |
| 1752 | { |
| 1753 | TIXMLASSERT( sizeof( XMLText ) == _textPool.ItemSize() ); |
| 1754 | XMLText* text = new (_textPool.Alloc()) XMLText( this ); |
| 1755 | text->_memPool = &_textPool; |
| 1756 | text->SetValue( str ); |
| 1757 | return text; |
| 1758 | } |
| 1759 | |
| 1760 | |
| 1761 | XMLDeclaration* XMLDocument::NewDeclaration( const char* str ) |
no test coverage detected