MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / RemoveAttribute

Method RemoveAttribute

cpp/tinyxml/tinyxml.cpp:418–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416
417
418void TiXmlElement::RemoveAttribute( const char * name )
419{
420 #ifdef TIXML_USE_STL
421 TIXML_STRING str( name );
422 TiXmlAttribute* node = attributeSet.Find( str );
423 #else
424 TiXmlAttribute* node = attributeSet.Find( name );
425 #endif
426 if ( node )
427 {
428 attributeSet.Remove( node );
429 delete node;
430 }
431}
432
433const TiXmlElement* TiXmlNode::FirstChildElement() const
434{

Callers

nothing calls this directly

Calls 2

FindMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected