diff runner/FeatureWriterFactory.cpp @ 223:f4315a0ade89 json-ld

added JSON-LD feature writer files
author alo
date Mon, 22 Feb 2016 14:27:19 +0000
parents f35bbb3e4d41
children
line wrap: on
line diff
--- a/runner/FeatureWriterFactory.cpp	Sat Jan 30 12:11:47 2016 +0000
+++ b/runner/FeatureWriterFactory.cpp	Mon Feb 22 14:27:19 2016 +0000
@@ -25,6 +25,7 @@
 #include "MIDIFeatureWriter.h"
 #include "JAMSFeatureWriter.h"
 #include "LabFeatureWriter.h"
+#include "JsonLDFeatureWriter.h"
 
 set<string>
 FeatureWriterFactory::getWriterTags()
@@ -37,6 +38,7 @@
     tags.insert("lab");
     tags.insert("midi");
     tags.insert("jams");
+    tags.insert("jsld");
     return tags;
 }
 
@@ -57,6 +59,8 @@
         return new MIDIFeatureWriter();
     } else if (tag == "jams") {
         return new JAMSFeatureWriter();
+    } else if (tag == "jsld") {
+        return new JsonLDFeatureWriter();
     }
 
     return 0;