| 1687 | |
| 1688 | |
| 1689 | TiXmlHandle TiXmlHandle::ChildElement( int count ) const |
| 1690 | { |
| 1691 | if ( node ) |
| 1692 | { |
| 1693 | int i; |
| 1694 | TiXmlElement* child = node->FirstChildElement(); |
| 1695 | for ( i=0; |
| 1696 | child && i<count; |
| 1697 | child = child->NextSiblingElement(), ++i ) |
| 1698 | { |
| 1699 | // nothing |
| 1700 | } |
| 1701 | if ( child ) |
| 1702 | return TiXmlHandle( child ); |
| 1703 | } |
| 1704 | return TiXmlHandle( 0 ); |
| 1705 | } |
| 1706 | |
| 1707 | |
| 1708 | TiXmlHandle TiXmlHandle::ChildElement( const char* value, int count ) const |
nothing calls this directly
no test coverage detected