MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Accept

Method Accept

ogsr_engine/xrCore/XML_Parser/tinyxml.cpp:792–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790}
791
792bool TiXmlElement::Accept(TiXmlVisitor* visitor) const
793{
794 if (visitor->VisitEnter(*this, attributeSet.First()))
795 {
796 for (const TiXmlNode* node = FirstChild(); node; node = node->NextSibling())
797 {
798 if (!node->Accept(visitor))
799 break;
800 }
801 }
802 return visitor->VisitExit(*this);
803}
804
805TiXmlNode* TiXmlElement::Clone() const
806{

Callers 1

tinyxml.cppFile · 0.45

Calls 5

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

Tested by

no test coverage detected