12 #ifndef CXFILEMANAGERLSERVICEBASE_H 13 #define CXFILEMANAGERLSERVICEBASE_H 17 #include "cxResourceExport.h" 19 class ctkPluginContext;
36 virtual bool isNull();
39 QString canLoadDataType()
const;
40 bool canLoad(
const QString& type,
const QString& filename);
41 DataPtr load(
const QString& uid,
const QString& filename);
42 bool readInto(
DataPtr data, QString path);
43 std::vector<DataPtr> read(
const QString &filename);
46 void save(
DataPtr data,
const QString& filename);
52 QString findDataTypeFromFile(QString filename);
53 std::vector<FileReaderWriterServicePtr> getExportersForDataType(QString dataType);
54 std::vector<FileReaderWriterServicePtr> getImportersForDataType(QString dataType);
62 std::set<FileReaderWriterServicePtr> mDataReaders;
67 #endif // CXFILEMANAGERLSERVICEBASE_H
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class FileReaderWriterService > FileReaderWriterServicePtr
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
Namespace for all CustusX production code.