summaryrefslogtreecommitdiffstats
path: root/src/gui/RDFS.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-04-01 04:21:18 +0000
committerDavid Robillard <d@drobilla.net>2015-04-01 04:21:18 +0000
commit85aaff2bf3420e7c4a1d4db3c093c589b0c25e78 (patch)
tree13d21f618fd689575d3e7ccf912e26f5cf0c2fbc /src/gui/RDFS.hpp
parentc0da1cf368b7d43c9c886b81768b4a62a07fae3f (diff)
downloadingen-85aaff2bf3420e7c4a1d4db3c093c589b0c25e78.tar.gz
ingen-85aaff2bf3420e7c4a1d4db3c093c589b0c25e78.tar.bz2
ingen-85aaff2bf3420e7c4a1d4db3c093c589b0c25e78.zip
Support adding datatype properties.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5649 a436a847-0d15-0410-975c-d299462d15a1
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);