| 1678 | |
| 1679 | |
| 1680 | TiXmlHandle TiXmlHandle::Child( int count ) const |
| 1681 | { |
| 1682 | if ( node ) |
| 1683 | { |
| 1684 | int i; |
| 1685 | TiXmlNode* child = node->FirstChild(); |
| 1686 | for ( i=0; |
| 1687 | child && i<count; |
| 1688 | child = child->NextSibling(), ++i ) |
| 1689 | { |
| 1690 | // nothing |
| 1691 | } |
| 1692 | if ( child ) |
| 1693 | return TiXmlHandle( child ); |
| 1694 | } |
| 1695 | return TiXmlHandle( 0 ); |
| 1696 | } |
| 1697 | |
| 1698 | |
| 1699 | TiXmlHandle TiXmlHandle::Child( const char* value, int count ) const |
nothing calls this directly
no test coverage detected