svcore
1.9
|
#include <RDFImporter.h>
Public Types | |
enum | RDFDocumentType { AudioRefAndAnnotations, Annotations, AudioRef, OtherRDFDocument, NotRDF } |
Public Member Functions | |
RDFImporter (QString url, int sampleRate=0) | |
virtual | ~RDFImporter () |
void | setSampleRate (int sampleRate) |
bool | isOK () |
QString | getErrorString () const |
std::vector< Model * > | getDataModels (ProgressReporter *reporter) |
Static Public Member Functions | |
static QString | getKnownExtensions () |
Return the file extensions that we have data file readers for, in a format suitable for use with QFileDialog. | |
static RDFDocumentType | identifyDocumentType (QString url) |
Protected Attributes | |
RDFImporterImpl * | m_d |
Definition at line 28 of file RDFImporter.h.
Definition at line 50 of file RDFImporter.h.
RDFImporter::RDFImporter | ( | QString | url, |
int | sampleRate = 0 |
||
) |
Definition at line 93 of file RDFImporter.cpp.
RDFImporter::~RDFImporter | ( | ) | [virtual] |
Definition at line 98 of file RDFImporter.cpp.
References m_d.
QString RDFImporter::getKnownExtensions | ( | ) | [static] |
Return the file extensions that we have data file readers for, in a format suitable for use with QFileDialog.
For example, "*.rdf *.n3".
Definition at line 88 of file RDFImporter.cpp.
void RDFImporter::setSampleRate | ( | int | sampleRate | ) |
Definition at line 104 of file RDFImporter.cpp.
References m_d, and RDFImporterImpl::setSampleRate().
bool RDFImporter::isOK | ( | ) |
Definition at line 110 of file RDFImporter.cpp.
References RDFImporterImpl::isOK(), and m_d.
QString RDFImporter::getErrorString | ( | ) | const |
Definition at line 116 of file RDFImporter.cpp.
References RDFImporterImpl::getErrorString(), and m_d.
std::vector< Model * > RDFImporter::getDataModels | ( | ProgressReporter * | reporter | ) |
Definition at line 122 of file RDFImporter.cpp.
References RDFImporterImpl::getDataModels(), and m_d.
RDFImporter::RDFDocumentType RDFImporter::identifyDocumentType | ( | QString | url | ) | [static] |
!! non-local document?
Definition at line 803 of file RDFImporter.cpp.
References Annotations, AudioRef, AudioRefAndAnnotations, NotRDF, OtherRDFDocument, and SVDEBUG.
RDFImporterImpl* RDFImporter::m_d [protected] |
Definition at line 61 of file RDFImporter.h.
Referenced by getDataModels(), getErrorString(), isOK(), setSampleRate(), and ~RDFImporter().