svcore
1.9
|
#include <RDFTransformFactory.h>
Public Member Functions | |
RDFTransformFactory (QString url) | |
virtual | ~RDFTransformFactory () |
bool | isRDF () |
isRDF() may be queried at any point after construction. More... | |
bool | isOK () |
isOK() may be queried at any point after getTransforms() has been called. More... | |
QString | getErrorString () const |
Return any error string resulting from loading or querying the file. More... | |
std::vector< Transform > | getTransforms (ProgressReporter *reporter) |
Static Public Member Functions | |
static QString | getKnownExtensions () |
static QString | writeTransformToRDF (const Transform &, QString uri) |
Protected Attributes | |
RDFTransformFactoryImpl * | m_d |
Detailed Description
Definition at line 29 of file RDFTransformFactory.h.
Constructor & Destructor Documentation
RDFTransformFactory::RDFTransformFactory | ( | QString | url | ) |
Definition at line 76 of file RDFTransformFactory.cpp.
|
virtual |
Definition at line 81 of file RDFTransformFactory.cpp.
References m_d.
Member Function Documentation
|
static |
Definition at line 71 of file RDFTransformFactory.cpp.
bool RDFTransformFactory::isRDF | ( | ) |
isRDF() may be queried at any point after construction.
It returns true if the file was parseable as RDF.
Definition at line 87 of file RDFTransformFactory.cpp.
References RDFTransformFactoryImpl::isRDF(), and m_d.
bool RDFTransformFactory::isOK | ( | ) |
isOK() may be queried at any point after getTransforms() has been called.
It is true if the file was parseable as RDF and any transforms in it could be completely constructed.
Note that even if isOK() returns true, it is still possible that the file did not define any transforms; in this case, getTransforms() would have returned an empty list.
If isOK() is called before getTransforms() has been invoked to query the file, it will return true iff isRDF() is true.
Definition at line 93 of file RDFTransformFactory.cpp.
References RDFTransformFactoryImpl::isOK(), and m_d.
QString RDFTransformFactory::getErrorString | ( | ) | const |
Return any error string resulting from loading or querying the file.
This will be non-empty if isRDF() or isOK() returns false.
Definition at line 99 of file RDFTransformFactory.cpp.
References RDFTransformFactoryImpl::getErrorString(), and m_d.
std::vector< Transform > RDFTransformFactory::getTransforms | ( | ProgressReporter * | reporter | ) |
Definition at line 105 of file RDFTransformFactory.cpp.
References RDFTransformFactoryImpl::getTransforms(), and m_d.
|
static |
Definition at line 111 of file RDFTransformFactory.cpp.
References RDFTransformFactoryImpl::writeTransformToRDF().
Referenced by RDFFeatureWriter::writeLocalFeatureTypes().
Member Data Documentation
|
protected |
Definition at line 68 of file RDFTransformFactory.h.
Referenced by getErrorString(), getTransforms(), isOK(), isRDF(), and ~RDFTransformFactory().
The documentation for this class was generated from the following files:
Generated by 1.8.11