| 1901 | |
| 1902 | |
| 1903 | XMLText* 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 | |
| 1913 | XMLDeclaration* XMLDocument::NewDeclaration( const char* str ) |
no test coverage detected