| 333 | |
| 334 | |
| 335 | bool TiXmlNode::RemoveChild( TiXmlNode* removeThis ) |
| 336 | { |
| 337 | if ( !removeThis ) { |
| 338 | return false; |
| 339 | } |
| 340 | |
| 341 | if ( removeThis->parent != this ) |
| 342 | { |
| 343 | assert( 0 ); |
| 344 | return false; |
| 345 | } |
| 346 | |
| 347 | if ( removeThis->next ) |
| 348 | removeThis->next->prev = removeThis->prev; |
| 349 | else |
| 350 | lastChild = removeThis->prev; |
| 351 | |
| 352 | if ( removeThis->prev ) |
| 353 | removeThis->prev->next = removeThis->next; |
| 354 | else |
| 355 | firstChild = removeThis->next; |
| 356 | |
| 357 | delete removeThis; |
| 358 | return true; |
| 359 | } |
| 360 | |
| 361 | const TiXmlNode* TiXmlNode::FirstChild( const char * _value ) const |
| 362 | { |
nothing calls this directly
no outgoing calls
no test coverage detected