Przeglądaj źródła

Added ChildElementCount

Added ChildElementCount suggested by msteiger on sourceforge for original tinyxml.  Modified for TinyXML-2.
kb1sph 3 lat temu
rodzic
commit
904ad04bea
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      tinyxml2.h

+ 6 - 0
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)