|
svcore
1.9
|
#include <RDFExporter.h>

Public Member Functions | |
| RDFExporter (QString path, Model *model) | |
| virtual | ~RDFExporter () |
| virtual bool | isOK () const |
| virtual QString | getError () const |
| virtual void | write () |
Static Public Member Functions | |
| static QString | getSupportedExtensions () |
| Return the file extensions that we can write, in a format suitable for use with QFileDialog. | |
| static bool | canExportModel (Model *) |
Protected Attributes | |
| QString | m_path |
| Model * | m_model |
| RDFFeatureWriter * | m_fw |
Definition at line 24 of file RDFExporter.h.
| RDFExporter::RDFExporter | ( | QString | path, |
| Model * | model | ||
| ) |
Definition at line 42 of file RDFExporter.cpp.
References m_fw, and RDFFeatureWriter::setParameters().
| RDFExporter::~RDFExporter | ( | ) | [virtual] |
Definition at line 53 of file RDFExporter.cpp.
References m_fw.
| QString RDFExporter::getSupportedExtensions | ( | ) | [static] |
Return the file extensions that we can write, in a format suitable for use with QFileDialog.
For example, "*.ttl *.n3".
Definition at line 174 of file RDFExporter.cpp.
| bool RDFExporter::canExportModel | ( | Model * | m | ) | [static] |
Definition at line 30 of file RDFExporter.cpp.
| bool RDFExporter::isOK | ( | ) | const [virtual] |
Definition at line 59 of file RDFExporter.cpp.
| QString RDFExporter::getError | ( | ) | const [virtual] |
Definition at line 65 of file RDFExporter.cpp.
| void RDFExporter::write | ( | ) | [virtual] |
Definition at line 71 of file RDFExporter.cpp.
References IntervalModel< PointType >::getPoints(), SparseModel< PointType >::getPoints(), Model::getSampleRate(), m_fw, m_model, RDFFeatureWriter::setFixedEventTypeURI(), and RDFFeatureWriter::write().
QString RDFExporter::m_path [protected] |
Definition at line 44 of file RDFExporter.h.
Model* RDFExporter::m_model [protected] |
Definition at line 45 of file RDFExporter.h.
Referenced by write().
RDFFeatureWriter* RDFExporter::m_fw [protected] |
Definition at line 46 of file RDFExporter.h.
Referenced by RDFExporter(), write(), and ~RDFExporter().