Mercurial > hg > svcore
comparison rdf/PluginRDFDescription.cpp @ 1847:9762a7f084a0
Suppress debug
author | Chris Cannam |
---|---|
date | Wed, 22 Apr 2020 17:18:33 +0100 |
parents | 6f626cfdba51 |
children | 1adbeb52d761 |
comparison
equal
deleted
inserted
replaced
1846:37ffea1e50ec | 1847:9762a7f084a0 |
---|---|
30 using Dataquay::Nodes; | 30 using Dataquay::Nodes; |
31 using Dataquay::Triple; | 31 using Dataquay::Triple; |
32 using Dataquay::Triples; | 32 using Dataquay::Triples; |
33 using Dataquay::BasicStore; | 33 using Dataquay::BasicStore; |
34 | 34 |
35 #define DEBUG_PLUGIN_RDF_DESCRIPTION 1 | 35 //#define DEBUG_PLUGIN_RDF_DESCRIPTION 1 |
36 | 36 |
37 PluginRDFDescription::PluginRDFDescription(QString pluginId) : | 37 PluginRDFDescription::PluginRDFDescription(QString pluginId) : |
38 m_pluginId(pluginId), | 38 m_pluginId(pluginId), |
39 m_haveDescription(false) | 39 m_haveDescription(false) |
40 { | 40 { |
278 | 278 |
279 Nodes packs = index->match | 279 Nodes packs = index->match |
280 (Triple(Node(), index->expand("vamp:available_library"), libn)) | 280 (Triple(Node(), index->expand("vamp:available_library"), libn)) |
281 .subjects(); | 281 .subjects(); |
282 | 282 |
283 #ifdef DEBUG_PLUGIN_RDF_DESCRIPTION | |
283 SVCERR << packs.size() << " matching pack(s) for library node " | 284 SVCERR << packs.size() << " matching pack(s) for library node " |
284 << libn << endl; | 285 << libn << endl; |
286 #endif | |
285 | 287 |
286 for (Node packn: packs) { | 288 for (Node packn: packs) { |
287 if (packn.type != Node::URI) continue; | 289 if (packn.type != Node::URI) continue; |
288 | 290 |
289 QString packName; | 291 QString packName; |