svcore
1.9
|
RDFTransformFactory.cpp
Go to the documentation of this file.
258 cerr << "\nRDFTransformFactory: WARNING: Duration is specified as \"" << onode.value << "\" in RDF file,\n but this evaluates to zero when parsed as an xsd:duration datatype.\n The duration property will therefore be ignored.\n To specify start time and duration use the xsd:duration format,\n for example \"PT2.5S\"^^xsd:duration (for 2.5 seconds).\n\n";
263 cerr << "RDFTransformFactory: ERROR: Inconsistent optionals lists (unexpected optional \"" << optional << "\"" << endl;
286 m_errorString = QString("vamp:output for output of transform <%1> is not a URI or blank node").arg(transformUri);
305 m_errorString = QString("No vamp:identifier found for output of transform <%1>, or vamp:identifier is not a literal").arg(transformUri);
328 cerr << "RDFTransformFactoryImpl::setParameters: No vamp:parameter for binding " << binding << endl;
336 cerr << "RDFTransformFactoryImpl::setParameters: No vamp:value for binding " << binding << endl;
356 cerr << "RDFTransformFactoryImpl::setParameters: No vamp:identifier for parameter " << paramNode << endl;
384 cerr << "WARNING: RDFTransformFactory::writeTransformToRDF: No plugin URI available for plugin id \"" << pluginId << "\", writing synthetic plugin and library resources" << endl;
401 cerr << "WARNING: RDFTransformFactory::writeTransformToRDF: No output URI available for transform output id \"" << transform.getOutput() << "\", writing a synthetic output resource" << endl;
416 s << " vamp:start \"" << transform.getStartTime().toXsdDuration().c_str() << "\"^^xsd:duration ; " << endl;
419 s << " vamp:duration \"" << transform.getDuration().toXsdDuration().c_str() << "\"^^xsd:duration ; " << endl;
std::vector< Transform > getTransforms(ProgressReporter *)
Definition: RDFTransformFactory.cpp:164
QString getURIForPluginId(QString pluginId)
Definition: PluginRDFIndexer.cpp:210
Definition: PluginRDFIndexer.h:29
QString getErrorString() const
Return any error string resulting from loading or querying the file.
Definition: RDFTransformFactory.cpp:99
static QString getKnownExtensions()
Definition: RDFTransformFactory.cpp:71
Definition: ProgressReporter.h:22
Definition: Window.h:43
QString getIdForPluginURI(QString uri)
Definition: PluginRDFIndexer.cpp:219
Definition: PluginRDFDescription.h:28
std::string toXsdDuration() const
Return a string in xsd:duration format.
Definition: RealTimeSV.cpp:424
static void parseIdentifier(QString identifier, QString &type, QString &soName, QString &label)
Definition: PluginIdentifier.cpp:43
bool isOK()
isOK() may be queried at any point after getTransforms() has been called.
Definition: RDFTransformFactory.cpp:93
Definition: Window.h:34
virtual QString toXmlString(QString indent="", QString extraAttributes="") const
Convert this exportable object to XML in a string.
Definition: XmlExportable.cpp:25
bool setParameters(Transform &, QString)
Definition: RDFTransformFactory.cpp:316
RDFTransformFactoryImpl(QString url)
Definition: RDFTransformFactory.cpp:116
const Dataquay::BasicStore * getIndex()
Definition: PluginRDFIndexer.cpp:73
void setPluginIdentifier(QString pluginIdentifier)
Definition: Transform.cpp:225
bool setOutput(Transform &, QString)
Definition: RDFTransformFactory.cpp:277
static QString writeTransformToRDF(const Transform &, QString uri)
Definition: RDFTransformFactory.cpp:111
bool isRDF()
isRDF() may be queried at any point after construction.
Definition: RDFTransformFactory.cpp:87
virtual ~RDFTransformFactory()
Definition: RDFTransformFactory.cpp:81
Definition: Transform.h:34
RDFTransformFactory(QString url)
Definition: RDFTransformFactory.cpp:76
std::vector< Transform > getTransforms(ProgressReporter *reporter)
Definition: RDFTransformFactory.cpp:105
static SummaryType stringToSummaryType(QString)
Definition: Transform.cpp:445
static PluginRDFIndexer * getInstance()
Definition: PluginRDFIndexer.cpp:57
static QString writeTransformToRDF(const Transform &, QString)
Definition: RDFTransformFactory.cpp:367
QString getErrorString() const
Definition: RDFTransformFactory.cpp:158
virtual ~RDFTransformFactoryImpl()
Definition: RDFTransformFactory.cpp:140
static RealTime fromXsdDuration(std::string xsdd)
Definition: RealTimeSV.cpp:96
QString getOutputUri(QString outputId) const
Definition: PluginRDFDescription.cpp:159
static QString summaryTypeToString(SummaryType)
Definition: Transform.cpp:465
RealTime represents time values to nanosecond precision with accurate arithmetic and frame-rate conve...
Definition: RealTime.h:42
Generated by 1.8.11