CustusX  22.04-rc5
An IGT application
cx::FileManagerService Class Referenceabstract

#include <cxFileManagerService.h>

Inheritance diagram for cx::FileManagerService:
cx::FileManagerServiceBase cx::FileManagerServiceNull cx::FileManagerServiceProxy cx::FileManagerImpService

Public Member Functions

virtual ~FileManagerService ()
 
virtual bool isNull ()=0
 
virtual bool canLoad (const QString &type, const QString &filename)=0
 
virtual QString canLoadDataType () const =0
 
virtual std::vector< DataPtrread (const QString &filename)=0
 
virtual DataPtr load (const QString &uid, const QString &filename)=0
 
virtual bool readInto (DataPtr data, QString path)=0
 
virtual void save (DataPtr data, const QString &filename)=0
 
virtual vtkImageDataPtr loadVtkImageData (QString filename)=0
 
virtual vtkPolyDataPtr loadVtkPolyData (QString filename)=0
 
virtual void addFileReaderWriter (FileReaderWriterService *service)=0
 
virtual void removeFileReaderWriter (FileReaderWriterService *service)=0
 
virtual QString findDataTypeFromFile (QString filename)=0
 
virtual std::vector< FileReaderWriterServicePtrgetExportersForDataType (QString dataType)=0
 
virtual std::vector< FileReaderWriterServicePtrgetImportersForDataType (QString dataType)=0
 
virtual QString getFileReaderName (const QString &filename)=0
 

Static Public Member Functions

static FileManagerServicePtr getNullObject ()
 

Detailed Description

Definition at line 28 of file cxFileManagerService.h.

Constructor & Destructor Documentation

virtual cx::FileManagerService::~FileManagerService ( )
inlinevirtual

Definition at line 32 of file cxFileManagerService.h.

Member Function Documentation

virtual void cx::FileManagerService::addFileReaderWriter ( FileReaderWriterService service)
pure virtual
virtual bool cx::FileManagerService::canLoad ( const QString &  type,
const QString &  filename 
)
pure virtual
virtual QString cx::FileManagerService::canLoadDataType ( ) const
pure virtual
virtual QString cx::FileManagerService::findDataTypeFromFile ( QString  filename)
pure virtual
virtual std::vector<FileReaderWriterServicePtr> cx::FileManagerService::getExportersForDataType ( QString  dataType)
pure virtual
virtual QString cx::FileManagerService::getFileReaderName ( const QString &  filename)
pure virtual
virtual std::vector<FileReaderWriterServicePtr> cx::FileManagerService::getImportersForDataType ( QString  dataType)
pure virtual
FileManagerServicePtr cx::FileManagerService::getNullObject ( )
static

Definition at line 19 of file cxFileManagerService.cpp.

virtual bool cx::FileManagerService::isNull ( )
pure virtual
virtual DataPtr cx::FileManagerService::load ( const QString &  uid,
const QString &  filename 
)
pure virtual
virtual vtkImageDataPtr cx::FileManagerService::loadVtkImageData ( QString  filename)
pure virtual
virtual vtkPolyDataPtr cx::FileManagerService::loadVtkPolyData ( QString  filename)
pure virtual
virtual std::vector<DataPtr> cx::FileManagerService::read ( const QString &  filename)
pure virtual
virtual bool cx::FileManagerService::readInto ( DataPtr  data,
QString  path 
)
pure virtual
virtual void cx::FileManagerService::removeFileReaderWriter ( FileReaderWriterService service)
pure virtual
virtual void cx::FileManagerService::save ( DataPtr  data,
const QString &  filename 
)
pure virtual

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