| 819 | // ChildElementCount was originally suggested by msteiger on the sourceforge page for TinyXML and modified by KB1SPH for TinyXML-2. |
| 820 | |
| 821 | int XMLNode::ChildElementCount(const char *value) const { |
| 822 | int count = 0; |
| 823 | |
| 824 | const XMLElement *e = FirstChildElement(value); |
| 825 | |
| 826 | while (e) { |
| 827 | e = e->NextSiblingElement(value); |
| 828 | count++; |
| 829 | } |
| 830 | |
| 831 | return count; |
| 832 | } |
| 833 | |
| 834 | int XMLNode::ChildElementCount() const { |
| 835 | int count = 0; |
nothing calls this directly
no test coverage detected