CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::FileManagerServiceProxy Class Reference

#include <cxFileManagerServiceProxy.h>

Inheritance diagram for cx::FileManagerServiceProxy:
cx::FileManagerService

Public Member Functions

 FileManagerServiceProxy (ctkPluginContext *context)
 
virtual ~FileManagerServiceProxy ()
 
virtual bool isNull ()
 
bool canLoad (const QString &type, const QString &filename)
 
DataPtr load (const QString &uid, const QString &filename)
 
QString canLoadDataType () const
 
std::vector< DataPtrread (const QString &filename)
 
bool readInto (DataPtr data, QString path)
 
QString findDataTypeFromFile (QString filename)
 
vtkImageDataPtr loadVtkImageData (QString filename)
 
vtkPolyDataPtr loadVtkPolyData (QString filename)
 
void save (DataPtr data, const QString &filename)
 
void addFileReaderWriter (FileReaderWriterService *service)
 
void removeFileReaderWriter (FileReaderWriterService *service)
 
std::vector< FileReaderWriterServicePtrgetExportersForDataType (QString dataType)
 
std::vector< FileReaderWriterServicePtrgetImportersForDataType (QString dataType)
 
QString getFileReaderName (const QString &filename)
 
- Public Member Functions inherited from cx::FileManagerService
virtual ~FileManagerService ()
 

Static Public Member Functions

static FileManagerServicePtr create (ctkPluginContext *context)
 
- Static Public Member Functions inherited from cx::FileManagerService
static FileManagerServicePtr getNullObject ()
 

Detailed Description

Definition at line 22 of file cxFileManagerServiceProxy.h.

Constructor & Destructor Documentation

cx::FileManagerServiceProxy::FileManagerServiceProxy ( ctkPluginContext *  context)

Definition at line 24 of file cxFileManagerServiceProxy.cpp.

cx::FileManagerServiceProxy::~FileManagerServiceProxy ( )
virtual

Definition at line 32 of file cxFileManagerServiceProxy.cpp.

Member Function Documentation

void cx::FileManagerServiceProxy::addFileReaderWriter ( FileReaderWriterService service)
virtual

Implements cx::FileManagerService.

Definition at line 109 of file cxFileManagerServiceProxy.cpp.

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

Implements cx::FileManagerService.

Definition at line 40 of file cxFileManagerServiceProxy.cpp.

QString cx::FileManagerServiceProxy::canLoadDataType ( ) const
virtual

Implements cx::FileManagerService.

Definition at line 50 of file cxFileManagerServiceProxy.cpp.

FileManagerServicePtr cx::FileManagerServiceProxy::create ( ctkPluginContext *  context)
static

Definition at line 19 of file cxFileManagerServiceProxy.cpp.

QString cx::FileManagerServiceProxy::findDataTypeFromFile ( QString  filename)
virtual

Implements cx::FileManagerService.

Definition at line 65 of file cxFileManagerServiceProxy.cpp.

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

Implements cx::FileManagerService.

Definition at line 119 of file cxFileManagerServiceProxy.cpp.

QString cx::FileManagerServiceProxy::getFileReaderName ( const QString &  filename)
virtual

Implements cx::FileManagerService.

Definition at line 129 of file cxFileManagerServiceProxy.cpp.

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

Implements cx::FileManagerService.

Definition at line 124 of file cxFileManagerServiceProxy.cpp.

bool cx::FileManagerServiceProxy::isNull ( )
virtual

Implements cx::FileManagerService.

Definition at line 35 of file cxFileManagerServiceProxy.cpp.

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

Implements cx::FileManagerService.

Definition at line 45 of file cxFileManagerServiceProxy.cpp.

vtkImageDataPtr cx::FileManagerServiceProxy::loadVtkImageData ( QString  filename)
virtual

Implements cx::FileManagerService.

Definition at line 94 of file cxFileManagerServiceProxy.cpp.

vtkPolyDataPtr cx::FileManagerServiceProxy::loadVtkPolyData ( QString  filename)
virtual

Implements cx::FileManagerService.

Definition at line 99 of file cxFileManagerServiceProxy.cpp.

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

Implements cx::FileManagerService.

Definition at line 55 of file cxFileManagerServiceProxy.cpp.

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

Implements cx::FileManagerService.

Definition at line 60 of file cxFileManagerServiceProxy.cpp.

void cx::FileManagerServiceProxy::removeFileReaderWriter ( FileReaderWriterService service)
virtual

Implements cx::FileManagerService.

Definition at line 114 of file cxFileManagerServiceProxy.cpp.

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

Implements cx::FileManagerService.

Definition at line 104 of file cxFileManagerServiceProxy.cpp.


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