aboutsummaryrefslogtreecommitdiff
path: root/tinyxml2.h
diff options
context:
space:
mode:
authorLee Thomason <leethomason@gmail.com>2023-11-20 21:22:19 -0800
committerGitHub <noreply@github.com>2023-11-20 21:22:19 -0800
commitac23537e06e003e9365dadc32d944beb9b356925 (patch)
tree670707b4d3b6333711954547dd8d294a3bfd6ea1 /tinyxml2.h
parent52035717a380a5e2ea1df119226c73afb73a7769 (diff)
parent904ad04bea0ee798d5e059410faf45de65a4eb0f (diff)
downloadtinyxml2-ac23537e06e003e9365dadc32d944beb9b356925.tar.gz
Merge pull request #933 from kb1sph/master
Added ChildElementCount()
Diffstat (limited to 'tinyxml2.h')
-rwxr-xr-xtinyxml2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tinyxml2.h b/tinyxml2.h
index d297c32..ab13eee 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -732,6 +732,12 @@ public:
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.
@verbatim
Document: empty (NULL is returned, not an empty string)