Mercurial > hg > svcore
diff 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 |
line wrap: on
line diff
--- a/rdf/RDFTransformFactory.h Mon Nov 24 16:26:11 2008 +0000 +++ b/rdf/RDFTransformFactory.h Tue Nov 25 13:43:56 2008 +0000 @@ -36,7 +36,8 @@ RDFTransformFactory(QString url); virtual ~RDFTransformFactory(); - bool isOK(); + bool isRDF(); // true if the file was parseable and had transforms in it + bool isOK(); // true if the transforms could be completely constructed QString getErrorString() const; std::vector<Transform> getTransforms(ProgressReporter *reporter);