| 1353 | } |
| 1354 | |
| 1355 | XMLElement* XMLDocument::NewElement(const char* name) { |
| 1356 | XMLElement* ele = new (_elementPool.Alloc()) XMLElement(this); |
| 1357 | ele->_memPool = &_elementPool; |
| 1358 | ele->SetName(name); |
| 1359 | return ele; |
| 1360 | } |
| 1361 | |
| 1362 | XMLComment* XMLDocument::NewComment(const char* str) { |
| 1363 | XMLComment* comment = new (_commentPool.Alloc()) XMLComment(this); |
no test coverage detected