summaryrefslogtreecommitdiff
path: root/src/nodetree.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-06-27 11:37:27 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-06-27 11:37:27 +0200
commitd21701afe4230d633ae685ffeee6f5fb5a76f34d (patch)
treed91c68539a01757e1f350e3e53fdf36319ca126e /src/nodetree.h
parent7198cd81e1db3c92f99a7079e7820a6cdc51c40a (diff)
Check for existing ids in the tree when creating a new node.
Diffstat (limited to 'src/nodetree.h')
-rw-r--r--src/nodetree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nodetree.h b/src/nodetree.h
index 2ab9ec7..f2f4600 100644
--- a/src/nodetree.h
+++ b/src/nodetree.h
@@ -54,6 +54,7 @@ public:
~NodeTree();
nodeid_t createId();
+ bool hasId(nodeid_t nodeid);
NodeIdList insertAsChild(nodeid_t parentid, nodeid_t id, node_t data,
nodeid_t insertBeforeId) throw (std::exception);