comparison transform/TransformFactory.cpp @ 489:82ab61fa9223

* Reorganise our sparql queries on the basis that Redland must be available, not only optional. So for anything querying the pool of data about plugins, we use a single datastore and model which is initialised at the outset by PluginRDFIndexer and then queried directly; for anything that "reads from a file" (e.g. loading annotations) we query directly using Rasqal, going to the datastore when we need additional plugin-related information. This may improve performance, but mostly it simplifies the code and fixes a serious issue with RDF import in the previous versions (namely that multiple sequential RDF imports would end up sharing the same RDF data pool!)
author Chris Cannam
date Fri, 21 Nov 2008 16:12:29 +0000
parents c45e6c6722e0
children 81963c51b488
comparison
equal deleted inserted replaced
488:1c66e199e7d9 489:82ab61fa9223
293 case TransformDescription::Effects: return tr("Effects"); 293 case TransformDescription::Effects: return tr("Effects");
294 case TransformDescription::EffectsData: return tr("Effects Data"); 294 case TransformDescription::EffectsData: return tr("Effects Data");
295 case TransformDescription::Generator: return tr("Generator"); 295 case TransformDescription::Generator: return tr("Generator");
296 case TransformDescription::UnknownType: return tr("Other"); 296 case TransformDescription::UnknownType: return tr("Other");
297 } 297 }
298 return tr("Other");
298 } 299 }
299 300
300 void 301 void
301 TransformFactory::populateTransforms() 302 TransformFactory::populateTransforms()
302 { 303 {