12 #ifndef CXMETAIMAGEREADER_H
13 #define CXMETAIMAGEREADER_H
16 #include "org_custusx_core_filemanager_Export.h"
19 class ctkPluginContext;
33 virtual bool canRead(
const QString& type,
const QString& filename);
34 virtual QString canReadDataType()
const;
35 virtual bool readInto(
DataPtr data, QString path);
36 virtual bool readInto(
ImagePtr image, QString filename);
37 virtual DataPtr read(
const QString& uid,
const QString& filename);
38 std::vector<DataPtr> read(
const QString &filename);
41 QString canWriteDataType()
const;
42 bool canWrite(
const QString &type,
const QString &filename)
const;
43 virtual void write(
DataPtr data,
const QString& filename);
47 #endif // CXMETAIMAGEREADER_H