summaryrefslogtreecommitdiffstats
path: root/src/gui/RDFS.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/RDFS.hpp')
-rw-r--r--src/gui/RDFS.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/RDFS.hpp b/src/gui/RDFS.hpp
index 52931aaf..bb6e0684 100644
--- a/src/gui/RDFS.hpp
+++ b/src/gui/RDFS.hpp
@@ -52,6 +52,11 @@ std::string comment(World* world, const LilvNode* node);
*/
void classes(World* world, URISet& types, bool super);
+/** Set `types` to its super/sub datatype closure.
+ * @param super If true, find all supertypes, otherwise all subtypes.
+ */
+void datatypes(World* world, URISet& types, bool super);
+
/** Get all instances of any class in `types`. */
Objects instances(World* world, const URISet& types);