projects
/
SXSI
/
XMLTree.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add is_open function to test whether an index correspond to an
[SXSI/XMLTree.git]
/
xml-tree.hpp
diff --git
a/xml-tree.hpp
b/xml-tree.hpp
index
c2b86ca
..
ff98f21
100644
(file)
--- a/
xml-tree.hpp
+++ b/
xml-tree.hpp
@@
-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;