Add is_open function to test whether an index correspond to an
[SXSI/XMLTree.git] / xml-tree.hpp
index c2b86ca..ff98f21 100644 (file)
@@ -62,6 +62,7 @@ public:
   bool is_child(node_t, node_t) const;
   inline bool is_first_child(node_t) const;
   inline bool is_nil(node_t) const;
+  inline bool is_open(node_t) const;
 
   uint32_t depth(node_t) const;
   uint32_t preorder(node_t) const;