Mercurial > hg > svcore
comparison rdf/PluginRDFDescription.h @ 440:5746c559af15
* Merge revisions 1131 to 1201 from sv-rdf-import branch
author | Chris Cannam |
---|---|
date | Thu, 18 Sep 2008 12:33:30 +0000 |
parents | beb2948baa77 |
children | ef14acd6d102 |
comparison
equal
deleted
inserted
replaced
439:beb2948baa77 | 440:5746c559af15 |
---|---|
26 public: | 26 public: |
27 PluginRDFDescription() : m_haveDescription(false) { } | 27 PluginRDFDescription() : m_haveDescription(false) { } |
28 PluginRDFDescription(QString pluginId); | 28 PluginRDFDescription(QString pluginId); |
29 ~PluginRDFDescription(); | 29 ~PluginRDFDescription(); |
30 | 30 |
31 enum OutputType | |
32 { | |
33 OutputTypeUnknown, | |
34 OutputFeatures, | |
35 OutputEvents, | |
36 OutputFeaturesAndEvents | |
37 }; | |
38 | |
39 enum OutputDisposition | 31 enum OutputDisposition |
40 { | 32 { |
41 OutputDispositionUnknown, | 33 OutputDispositionUnknown, |
42 OutputSparse, | 34 OutputSparse, |
43 OutputDense, | 35 OutputDense, |
44 OutputTrackLevel | 36 OutputTrackLevel |
45 }; | 37 }; |
46 | 38 |
47 bool haveDescription() const; | 39 bool haveDescription() const; |
48 OutputType getOutputType(QString outputId) const; | |
49 OutputDisposition getOutputDisposition(QString outputId) const; | 40 OutputDisposition getOutputDisposition(QString outputId) const; |
50 QString getOutputFeatureTypeURI(QString outputId) const; | |
51 QString getOutputEventTypeURI(QString outputId) const; | 41 QString getOutputEventTypeURI(QString outputId) const; |
42 QString getOutputFeatureAttributeURI(QString outputId) const; | |
43 QString getOutputSignalTypeURI(QString outputId) const; | |
52 QString getOutputUnit(QString outputId) const; | 44 QString getOutputUnit(QString outputId) const; |
53 | 45 |
54 protected: | 46 protected: |
55 typedef std::map<QString, OutputType> OutputTypeMap; | |
56 typedef std::map<QString, OutputDisposition> OutputDispositionMap; | 47 typedef std::map<QString, OutputDisposition> OutputDispositionMap; |
57 typedef std::map<QString, QString> OutputStringMap; | 48 typedef std::map<QString, QString> OutputStringMap; |
58 | 49 |
59 QString m_pluginId; | 50 QString m_pluginId; |
60 bool m_haveDescription; | 51 bool m_haveDescription; |
61 OutputTypeMap m_outputTypes; | |
62 OutputDispositionMap m_outputDispositions; | 52 OutputDispositionMap m_outputDispositions; |
63 OutputStringMap m_outputFeatureTypeURIMap; | |
64 OutputStringMap m_outputEventTypeURIMap; | 53 OutputStringMap m_outputEventTypeURIMap; |
54 OutputStringMap m_outputFeatureAttributeURIMap; | |
55 OutputStringMap m_outputSignalTypeURIMap; | |
65 OutputStringMap m_outputUnitMap; | 56 OutputStringMap m_outputUnitMap; |
66 bool indexURL(QString url); | 57 bool indexURL(QString url); |
67 }; | 58 }; |
68 | 59 |
69 #endif | 60 #endif |