NorMIT-nav  22.09
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

◆ ~FileManagerService()

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

Definition at line 32 of file cxFileManagerService.h.

Member Function Documentation

◆ addFileReaderWriter()

virtual void cx::FileManagerService::addFileReaderWriter ( FileReaderWriterService service)
pure virtual

◆ canLoad()

virtual bool cx::FileManagerService::canLoad ( const QString &  type,
const QString &  filename 
)
pure virtual

◆ canLoadDataType()

virtual QString cx::FileManagerService::canLoadDataType ( ) const
pure virtual

◆ findDataTypeFromFile()

virtual QString cx::FileManagerService::findDataTypeFromFile ( QString  filename)
pure virtual

◆ getExportersForDataType()

virtual std::vector<FileReaderWriterServicePtr> cx::FileManagerService::getExportersForDataType ( QString  dataType)
pure virtual

◆ getFileReaderName()

virtual QString cx::FileManagerService::getFileReaderName ( const QString &  filename)
pure virtual

◆ getImportersForDataType()

virtual std::vector<FileReaderWriterServicePtr> cx::FileManagerService::getImportersForDataType ( QString  dataType)
pure virtual

◆ getNullObject()

FileManagerServicePtr cx::FileManagerService::getNullObject ( )
static

Definition at line 19 of file cxFileManagerService.cpp.

◆ isNull()

virtual bool cx::FileManagerService::isNull ( )
pure virtual

◆ load()

virtual DataPtr cx::FileManagerService::load ( const QString &  uid,
const QString &  filename 
)
pure virtual

◆ loadVtkImageData()

virtual vtkImageDataPtr cx::FileManagerService::loadVtkImageData ( QString  filename)
pure virtual

◆ loadVtkPolyData()

virtual vtkPolyDataPtr cx::FileManagerService::loadVtkPolyData ( QString  filename)
pure virtual

◆ read()

virtual std::vector<DataPtr> cx::FileManagerService::read ( const QString &  filename)
pure virtual

◆ readInto()

virtual bool cx::FileManagerService::readInto ( DataPtr  data,
QString  path 
)
pure virtual

◆ removeFileReaderWriter()

virtual void cx::FileManagerService::removeFileReaderWriter ( FileReaderWriterService service)
pure virtual

◆ save()

virtual void cx::FileManagerService::save ( DataPtr  data,
const QString &  filename 
)
pure virtual

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