| 1696 | |
| 1697 | |
| 1698 | TiXmlHandle 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 | |
| 1717 | TiXmlHandle TiXmlHandle::Child( const char* value, int count ) const |
nothing calls this directly
no test coverage detected