svcore  1.9
RDFImporter Class Reference

#include <RDFImporter.h>

Inheritance diagram for RDFImporter:
Collaboration diagram for RDFImporter:

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. More...
 
static RDFDocumentType identifyDocumentType (QString url)
 

Protected Attributes

RDFImporterImplm_d
 

Detailed Description

Definition at line 28 of file RDFImporter.h.

Member Enumeration Documentation

◆ RDFDocumentType

Enumerator
AudioRefAndAnnotations 
Annotations 
AudioRef 
OtherRDFDocument 
NotRDF 

Definition at line 50 of file RDFImporter.h.

Constructor & Destructor Documentation

◆ RDFImporter()

RDFImporter::RDFImporter ( QString  url,
int  sampleRate = 0 
)

Definition at line 93 of file RDFImporter.cpp.

◆ ~RDFImporter()

RDFImporter::~RDFImporter ( )
virtual

Definition at line 98 of file RDFImporter.cpp.

References m_d.

Member Function Documentation

◆ getKnownExtensions()

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.

◆ setSampleRate()

void RDFImporter::setSampleRate ( int  sampleRate)

Definition at line 104 of file RDFImporter.cpp.

References m_d, and RDFImporterImpl::setSampleRate().

◆ isOK()

bool RDFImporter::isOK ( )

Definition at line 110 of file RDFImporter.cpp.

References RDFImporterImpl::isOK(), and m_d.

◆ getErrorString()

QString RDFImporter::getErrorString ( ) const

Definition at line 116 of file RDFImporter.cpp.

References RDFImporterImpl::getErrorString(), and m_d.

◆ getDataModels()

std::vector< Model * > RDFImporter::getDataModels ( ProgressReporter reporter)

Definition at line 122 of file RDFImporter.cpp.

References RDFImporterImpl::getDataModels(), and m_d.

◆ identifyDocumentType()

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.

Member Data Documentation

◆ m_d

RDFImporterImpl* RDFImporter::m_d
protected

Definition at line 61 of file RDFImporter.h.

Referenced by getDataModels(), getErrorString(), isOK(), setSampleRate(), and ~RDFImporter().


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