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

Method Child

cpp/tinyxml/tinyxml.cpp:1685–1701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1683
1684
1685TiXmlHandle TiXmlHandle::Child( int count ) const
1686{
1687 if ( node )
1688 {
1689 int i;
1690 TiXmlNode* child = node->FirstChild();
1691 for ( i=0;
1692 child && i<count;
1693 child = child->NextSibling(), ++i )
1694 {
1695 // nothing
1696 }
1697 if ( child )
1698 return TiXmlHandle( child );
1699 }
1700 return TiXmlHandle( 0 );
1701}
1702
1703
1704TiXmlHandle 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