Mercurial > hg > vamp-plugin-sdk
comparison rdf/generator/template-generator.cpp @ 154:d7dcc37161e6
* slightly more sensible placeholders; some minor textual changes
author | cannam |
---|---|
date | Wed, 25 Jun 2008 11:48:25 +0000 |
parents | 3ec175bf5249 |
children | aa258ff1511e |
comparison
equal
deleted
inserted
replaced
153:2282b572c386 | 154:d7dcc37161e6 |
---|---|
92 string res=\ | 92 string res=\ |
93 "plugbase:"+plugin->getIdentifier()+" a vamp:Plugin ;\n\ | 93 "plugbase:"+plugin->getIdentifier()+" a vamp:Plugin ;\n\ |
94 dc:title \""+plugin->getName()+"\" ;\n\ | 94 dc:title \""+plugin->getName()+"\" ;\n\ |
95 vamp:name \""+plugin->getName()+"\" ;\n\ | 95 vamp:name \""+plugin->getName()+"\" ;\n\ |
96 dc:description \""+plugin->getDescription()+"\" ;\n\ | 96 dc:description \""+plugin->getDescription()+"\" ;\n\ |
97 foaf:maker [ foaf:name \""+plugin->getMaker()+"\"] ; # FIXME could give plugin author's URI here\n\ | 97 foaf:maker [ foaf:name \""+plugin->getMaker()+"\" ] ; # FIXME could give plugin author's URI here\n\ |
98 cc:license <FIXME license for the plugin> ; \n\ | 98 # cc:license <Place plugin license URI here and uncomment> ; \n\ |
99 vamp:identifier \""+plugin->getIdentifier()+"\" ;\n\ | 99 vamp:identifier \""+plugin->getIdentifier()+"\" ;\n\ |
100 vamp:vamp_API_version vamp:api_version_"+to_string(plugin->getVampApiVersion())+" ;\n\ | 100 vamp:vamp_API_version vamp:api_version_"+to_string(plugin->getVampApiVersion())+" ;\n\ |
101 owl:versionInfo \""+to_string(plugin->getPluginVersion())+"\" ;\n"; | 101 owl:versionInfo \""+to_string(plugin->getPluginVersion())+"\" ;\n"; |
102 if (plugin->getInputDomain() == Vamp::Plugin::FrequencyDomain) | 102 if (plugin->getInputDomain() == Vamp::Plugin::FrequencyDomain) |
103 res+=" vamp:input_domain vamp:FrequencyDomain ;\n\n"; | 103 res+=" vamp:input_domain vamp:FrequencyDomain ;\n\n"; |
291 exit(1); | 291 exit(1); |
292 } | 292 } |
293 } | 293 } |
294 | 294 |
295 //There is no way to know this in advance, but we can use the km a bit for this. | 295 //There is no way to know this in advance, but we can use the km a bit for this. |
296 res+=" vamp:computes_feature_type <FIXME feature type URI> ;\n"; | 296 res+="# vamp:computes_feature_type <Place feature type URI here and uncomment> ;\n"; |
297 res+=" vamp:computes_event_type <FIXME event type URI> ;\n"; | 297 res+="# vamp:computes_event_type <Place event type URI here and uncomment> ;\n"; |
298 res+=" .\n"; | 298 res+=" .\n"; |
299 | 299 |
300 return res; | 300 return res; |
301 } | 301 } |
302 | 302 |