| 1721 | |
| 1722 | |
| 1723 | TiXmlHandle TiXmlHandle::ChildElement( int count ) const |
| 1724 | { |
| 1725 | if ( node ) |
| 1726 | { |
| 1727 | int i; |
| 1728 | TiXmlElement* child = node->FirstChildElement(); |
| 1729 | for ( i=0; |
| 1730 | child && i<count; |
| 1731 | child = child->NextSiblingElement(), ++i ) |
| 1732 | { |
| 1733 | // nothing |
| 1734 | } |
| 1735 | if ( child ) |
| 1736 | return TiXmlHandle( child ); |
| 1737 | } |
| 1738 | return TiXmlHandle( 0 ); |
| 1739 | } |
| 1740 | |
| 1741 | |
| 1742 | TiXmlHandle TiXmlHandle::ChildElement( const char* value, int count ) const |
nothing calls this directly
no test coverage detected