comparison transform/TransformFactory.cpp @ 494:81963c51b488

* Add ability to export a transform structure as RDF -- for use when exporting data from runner, so as to refer back to the generating transform from the audio features rdf * some improvements to pane & layer management when importing rdf, but it's all still a big hack here
author Chris Cannam
date Tue, 25 Nov 2008 17:46:02 +0000
parents 82ab61fa9223
children 1b8c748fd7ea
comparison
equal deleted inserted replaced
493:3931711b5671 494:81963c51b488
635 for (QStringList::const_iterator j = oids.begin(); j != oids.end(); ++j) { 635 for (QStringList::const_iterator j = oids.begin(); j != oids.end(); ++j) {
636 636
637 TransformId tid = Transform::getIdentifierForPluginOutput(*i, *j); 637 TransformId tid = Transform::getIdentifierForPluginOutput(*i, *j);
638 638
639 if (m_transforms.find(tid) != m_transforms.end()) { 639 if (m_transforms.find(tid) != m_transforms.end()) {
640 std::cerr << "TransformFactory::populateUninstalledTransforms: " 640 // std::cerr << "TransformFactory::populateUninstalledTransforms: "
641 << tid.toStdString() << " is installed; adding info url if appropriate, skipping rest" << std::endl; 641 // << tid.toStdString() << " is installed; adding info url if appropriate, skipping rest" << std::endl;
642 if (infoUrl != "") { 642 if (infoUrl != "") {
643 if (m_transforms[tid].infoUrl == "") { 643 if (m_transforms[tid].infoUrl == "") {
644 m_transforms[tid].infoUrl = infoUrl; 644 m_transforms[tid].infoUrl = infoUrl;
645 } 645 }
646 } 646 }
647 continue; 647 continue;
648 } 648 }
649 649
650 std::cerr << "TransformFactory::populateUninstalledTransforms: " 650 // std::cerr << "TransformFactory::populateUninstalledTransforms: "
651 << "adding " << tid.toStdString() << std::endl; 651 // << "adding " << tid.toStdString() << std::endl;
652 652
653 QString oname = desc.getOutputName(*j); 653 QString oname = desc.getOutputName(*j);
654 if (oname == "") oname = *j; 654 if (oname == "") oname = *j;
655 655
656 TransformDescription td; 656 TransformDescription td;