| 1614 | } |
| 1615 | |
| 1616 | TiXmlHandle TiXmlHandle::ChildElement(int count) const |
| 1617 | { |
| 1618 | if (node) |
| 1619 | { |
| 1620 | int i; |
| 1621 | TiXmlElement* child = node->FirstChildElement(); |
| 1622 | for (i = 0; child && i < count; child = child->NextSiblingElement(), ++i) |
| 1623 | { |
| 1624 | // nothing |
| 1625 | } |
| 1626 | if (child) |
| 1627 | return TiXmlHandle(child); |
| 1628 | } |
| 1629 | return TiXmlHandle(0); |
| 1630 | } |
| 1631 | |
| 1632 | TiXmlHandle TiXmlHandle::ChildElement(const char* value, int count) const |
| 1633 | { |
nothing calls this directly
no test coverage detected