MCPcopy Create free account
hub / github.com/DFHack/dfhack / Accept

Method Accept

depends/tinyxml/tinyxml.cpp:875–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

873}
874
875bool TiXmlElement::Accept( TiXmlVisitor* visitor ) const
876{
877 if ( visitor->VisitEnter( *this, attributeSet.First() ) )
878 {
879 for ( const TiXmlNode* node=FirstChild(); node; node=node->NextSibling() )
880 {
881 if ( !node->Accept( visitor ) )
882 break;
883 }
884 }
885 return visitor->VisitExit( *this );
886}
887
888
889TiXmlNode* TiXmlElement::Clone() const

Callers 3

threadFnMethod · 0.80
tinyxml.cppFile · 0.80
lua_server_acceptFunction · 0.80

Calls 5

FirstMethod · 0.80
VisitEnterMethod · 0.45
NextSiblingMethod · 0.45
VisitExitMethod · 0.45
VisitMethod · 0.45

Tested by

no test coverage detected