| 1683 | |
| 1684 | |
| 1685 | TiXmlHandle 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 | |
| 1704 | TiXmlHandle TiXmlHandle::Child( const char* value, int count ) const |
nothing calls this directly
no test coverage detected