comparison rdf/RDFFeatureWriter.h @ 510:af7b6e55895b

* Ensure text models are exported with text properties in RDF, and imported back into text models again (instead of time/value models)
author Chris Cannam
date Mon, 08 Dec 2008 11:53:10 +0000
parents 0944d13689b2
children cbc884787a08
comparison
equal deleted inserted replaced
509:6066bde1c126 510:af7b6e55895b
53 const Transform &transform, 53 const Transform &transform,
54 const Vamp::Plugin::OutputDescriptor &output, 54 const Vamp::Plugin::OutputDescriptor &output,
55 const Vamp::Plugin::FeatureList &features, 55 const Vamp::Plugin::FeatureList &features,
56 std::string summaryType = ""); 56 std::string summaryType = "");
57 57
58 virtual void setFixedEventTypeURI(QString uri); // something of a hack
59
58 virtual void finish(); 60 virtual void finish();
59 61
60 private: 62 private:
61 typedef map<QString, PluginRDFDescription> RDFDescriptionMap; // by plugin id 63 typedef map<QString, PluginRDFDescription> RDFDescriptionMap; // by plugin id
62 RDFDescriptionMap m_rdfDescriptions; 64 RDFDescriptionMap m_rdfDescriptions;
63 65
64 typedef map<QString, TrackMetadata> TrackMetadataMap; 66 typedef map<QString, TrackMetadata> TrackMetadataMap;
65 TrackMetadataMap m_metadata; 67 TrackMetadataMap m_metadata;
68
69 QString m_fixedEventTypeURI;
66 70
67 void writePrefixes(QTextStream *); 71 void writePrefixes(QTextStream *);
68 void writeSignalDescription(QTextStream *, QString); 72 void writeSignalDescription(QTextStream *, QString);
69 void writeLocalFeatureTypes(QTextStream *, 73 void writeLocalFeatureTypes(QTextStream *,
70 const Transform &, 74 const Transform &,