#include <RDFTransformFactory.h>

Inheritance diagram for RDFTransformFactory:
Inheritance graph
Collaboration diagram for RDFTransformFactory:
Collaboration graph

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< TransformgetTransforms (ProgressReporter *reporter)
 

Static Public Member Functions

static QString getKnownExtensions ()
 
static QString writeTransformToRDF (const Transform &, QString uri)
 

Protected Attributes

RDFTransformFactoryImplm_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.

RDFTransformFactory::~RDFTransformFactory ( )
virtual

Definition at line 81 of file RDFTransformFactory.cpp.

References m_d.

Member Function Documentation

QString RDFTransformFactory::getKnownExtensions ( )
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.

QString RDFTransformFactory::writeTransformToRDF ( const Transform t,
QString  uri 
)
static

Member Data Documentation

RDFTransformFactoryImpl* RDFTransformFactory::m_d
protected

The documentation for this class was generated from the following files: