comparison transform/TransformDescription.h @ 443:381ec750eeee

* Add beginnings of transform-search-by-text function
author Chris Cannam
date Mon, 22 Sep 2008 15:44:03 +0000
parents 370aa9714ef5
children 957e6a5c8495
comparison
equal deleted inserted replaced
442:04b7fd31e1c6 443:381ec750eeee
47 { 47 {
48 TransformDescription() { } 48 TransformDescription() { }
49 TransformDescription(QString _type, QString _category, 49 TransformDescription(QString _type, QString _category,
50 TransformId _identifier, QString _name, 50 TransformId _identifier, QString _name,
51 QString _friendlyName, QString _description, 51 QString _friendlyName, QString _description,
52 QString _longDescription,
52 QString _maker, QString _units, bool _configurable) : 53 QString _maker, QString _units, bool _configurable) :
53 type(_type), category(_category), 54 type(_type), category(_category),
54 identifier(_identifier), name(_name), 55 identifier(_identifier), name(_name),
55 friendlyName(_friendlyName), description(_description), 56 friendlyName(_friendlyName), description(_description),
57 longDescription(_longDescription),
56 maker(_maker), units(_units), configurable(_configurable) { } 58 maker(_maker), units(_units), configurable(_configurable) { }
57 59
58 QString type; // e.g. feature extraction plugin 60 QString type; // e.g. feature extraction plugin
59 QString category; // e.g. time > onsets 61 QString category; // e.g. time > onsets
60 TransformId identifier; // e.g. vamp:vamp-aubio:aubioonset 62 TransformId identifier; // e.g. vamp:vamp-aubio:aubioonset
61 QString name; // plugin's name if 1 output, else "name: output" 63 QString name; // plugin's name if 1 output, else "name: output"
62 QString friendlyName; // short text for layer name 64 QString friendlyName; // short text for layer name
63 QString description; // sentence describing transform 65 QString description; // sentence describing transform
66 QString longDescription; // description "using" plugin name "by" maker
64 QString maker; 67 QString maker;
65 QString units; 68 QString units;
66 bool configurable; 69 bool configurable;
67 70
68 bool operator<(const TransformDescription &od) const { 71 bool operator<(const TransformDescription &od) const {