comparison transform/TransformFactory.h @ 446:aa190a6a2625

* More SelectableLabel and TransformFinder tweaking
author Chris Cannam
date Mon, 29 Sep 2008 15:06:43 +0000
parents 14521503f196
children ef14acd6d102
comparison
equal deleted inserted replaced
445:55cff2c6e4a0 446:aa190a6a2625
51 51
52 Match() : score(0) { } 52 Match() : score(0) { }
53 Match(const Match &m) : 53 Match(const Match &m) :
54 transform(m.transform), score(m.score), fragments(m.fragments) { } 54 transform(m.transform), score(m.score), fragments(m.fragments) { }
55 55
56 bool operator<(const Match &m) const; 56 bool operator<(const Match &m) const; // sort by score first
57 }; 57 };
58 58
59 typedef std::map<TransformId, Match> SearchResults; 59 typedef std::map<TransformId, Match> SearchResults;
60 SearchResults search(QString keyword); 60 SearchResults search(QString keyword);
61 SearchResults search(QStringList keywords); 61 SearchResults search(QStringList keywords);