| 1891 | |
| 1892 | |
| 1893 | XMLComment* XMLDocument::NewComment( const char* str ) |
| 1894 | { |
| 1895 | TIXMLASSERT( sizeof( XMLComment ) == _commentPool.ItemSize() ); |
| 1896 | XMLComment* comment = new (_commentPool.Alloc()) XMLComment( this ); |
| 1897 | comment->_memPool = &_commentPool; |
| 1898 | comment->SetValue( str ); |
| 1899 | return comment; |
| 1900 | } |
| 1901 | |
| 1902 | |
| 1903 | XMLText* XMLDocument::NewText( const char* str ) |
no test coverage detected