MCPcopy Create free account
hub / github.com/SOUI2/soui / ChildElement

Method ChildElement

tools/src/uiresbuilder/tinyxml/tinyxml.cpp:1736–1752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1734
1735
1736TiXmlHandle TiXmlHandle::ChildElement( int count ) const
1737{
1738 if ( node )
1739 {
1740 int i;
1741 TiXmlElement* child = node->FirstChildElement();
1742 for ( i=0;
1743 child && i<count;
1744 child = child->NextSiblingElement(), ++i )
1745 {
1746 // nothing
1747 }
1748 if ( child )
1749 return TiXmlHandle( child );
1750 }
1751 return TiXmlHandle( 0 );
1752}
1753
1754
1755TiXmlHandle TiXmlHandle::ChildElement( const char* value, int count ) const

Callers

nothing calls this directly

Calls 3

TiXmlHandleClass · 0.85
FirstChildElementMethod · 0.45
NextSiblingElementMethod · 0.45

Tested by

no test coverage detected