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

Method Child

tools/src/uiresbuilder/tinyxml/tinyxml.cpp:1698–1714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1696
1697
1698TiXmlHandle TiXmlHandle::Child( int count ) const
1699{
1700 if ( node )
1701 {
1702 int i;
1703 TiXmlNode* child = node->FirstChild();
1704 for ( i=0;
1705 child && i<count;
1706 child = child->NextSibling(), ++i )
1707 {
1708 // nothing
1709 }
1710 if ( child )
1711 return TiXmlHandle( child );
1712 }
1713 return TiXmlHandle( 0 );
1714}
1715
1716
1717TiXmlHandle TiXmlHandle::Child( const char* value, int count ) const

Callers

nothing calls this directly

Calls 3

TiXmlHandleClass · 0.85
FirstChildMethod · 0.45
NextSiblingMethod · 0.45

Tested by

no test coverage detected