svcore
1.9
|
DataFileReaderFactory.cpp
Go to the documentation of this file.
static QString getKnownExtensions()
Return the file extensions that we have data file readers for, in a format suitable for use with QFil...
Definition: DataFileReaderFactory.cpp:25
Definition: MIDIFileReader.h:58
Definition: CSVFormat.h:27
Definition: ProgressReporter.h:22
virtual bool isOK() const =0
Return true if the file appears to be of the correct type.
static Model * loadNonCSV(QString path, MIDIFileImportPreferenceAcquirer *acquirer, sv_samplerate_t mainModelSampleRate, ProgressReporter *reporter=0)
Read the given path, if a suitable reader is available.
Definition: DataFileReaderFactory.cpp:105
virtual Model * load() const =0
Read the file and return the corresponding data model.
Definition: DataFileReader.h:24
static Model * loadCSV(QString path, CSVFormat format, sv_samplerate_t mainModelSampleRate, ProgressReporter *reporter=0)
Read the given path using the CSV reader with the given format.
Definition: DataFileReaderFactory.cpp:128
Definition: CSVFileReader.h:32
static Model * load(QString path, MIDIFileImportPreferenceAcquirer *acquirer, sv_samplerate_t mainModelSampleRate, ProgressReporter *reporter=0)
Read the given path, if a suitable reader is available.
Definition: DataFileReaderFactory.cpp:83
Model is the base class for all data models that represent any sort of data on a time scale based on ...
Definition: Model.h:51
static DataFileReader * createReader(QString path, MIDIFileImportPreferenceAcquirer *, sv_samplerate_t mainModelSampleRate, ProgressReporter *reporter=0)
Return a data file reader initialised to the file at the given path, or NULL if no suitable reader fo...
Definition: DataFileReaderFactory.cpp:66
Generated by 1.8.11