comparison rdf/RDFTransformFactory.h @ 493:3931711b5671

* RDF importer: add model titles where possible * RDF transform factory: report whether something appears to be RDF or not (so we can avoid trying to load it as something else if the RDF query fails)
author Chris Cannam
date Tue, 25 Nov 2008 13:43:56 +0000
parents beb2948baa77
children 81963c51b488
comparison
equal deleted inserted replaced
492:23945cdd7161 493:3931711b5671
34 static QString getKnownExtensions(); 34 static QString getKnownExtensions();
35 35
36 RDFTransformFactory(QString url); 36 RDFTransformFactory(QString url);
37 virtual ~RDFTransformFactory(); 37 virtual ~RDFTransformFactory();
38 38
39 bool isOK(); 39 bool isRDF(); // true if the file was parseable and had transforms in it
40 bool isOK(); // true if the transforms could be completely constructed
40 QString getErrorString() const; 41 QString getErrorString() const;
41 42
42 std::vector<Transform> getTransforms(ProgressReporter *reporter); 43 std::vector<Transform> getTransforms(ProgressReporter *reporter);
43 44
44 protected: 45 protected: