Added ChildElementCount

Added ChildElementCount suggested by msteiger on sourceforge for original tinyxml.  Modified for TinyXML-2.
This commit is contained in:
kb1sph
2023-02-06 19:07:13 -05:00
committed by GitHub
parent 5926ec938a
commit 904ad04bea

View File

@@ -732,6 +732,12 @@ public:
return 0; return 0;
} }
// ChildElementCount was originally suggested by msteiger on the sourceforge page for TinyXML and modified by KB1SPH for TinyXML-2.
int ChildElementCount(const char *value) const;
int ChildElementCount() const;
/** The meaning of 'value' changes for the specific type. /** The meaning of 'value' changes for the specific type.
@verbatim @verbatim
Document: empty (NULL is returned, not an empty string) Document: empty (NULL is returned, not an empty string)