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