| 1734 | |
| 1735 | |
| 1736 | TiXmlHandle TiXmlHandle::ChildElement( int count ) const |
| 1737 | { |
| 1738 | if ( node ) |
| 1739 | { |
| 1740 | int i; |
| 1741 | TiXmlElement* child = node->FirstChildElement(); |
| 1742 | for ( i=0; |
| 1743 | child && i<count; |
| 1744 | child = child->NextSiblingElement(), ++i ) |
| 1745 | { |
| 1746 | // nothing |
| 1747 | } |
| 1748 | if ( child ) |
| 1749 | return TiXmlHandle( child ); |
| 1750 | } |
| 1751 | return TiXmlHandle( 0 ); |
| 1752 | } |
| 1753 | |
| 1754 | |
| 1755 | TiXmlHandle TiXmlHandle::ChildElement( const char* value, int count ) const |
nothing calls this directly
no test coverage detected