summaryrefslogtreecommitdiffstats
path: root/ingen/Parser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ingen/Parser.hpp')
-rw-r--r--ingen/Parser.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/ingen/Parser.hpp b/ingen/Parser.hpp
index 2f288384..039c6102 100644
--- a/ingen/Parser.hpp
+++ b/ingen/Parser.hpp
@@ -66,6 +66,15 @@ public:
const std::string& manifest_uri,
const Raul::URI& type_uri);
+ /** Parse a graph from RDF into a Interface (engine or client).
+ *
+ * @param path If this is a file path, then the graph is loaded from that
+ * file. If it is a directory, then the manifest.ttl from that directory
+ * is used instead. In either case, any rdfs:seeAlso files are loaded and
+ * the graph parsed from the resulting combined model.
+ *
+ * @return whether or not load was successful.
+ */
virtual bool parse_file(
World* world,
Interface* target,