CustusX  22.04-rc5
An IGT application
cx::FileManagerServiceBase Class Reference

#include <cxFileManagerServiceBase.h>

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

Public Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from cx::FileManagerService
static FileManagerServicePtr getNullObject ()
 

Detailed Description

Implementation of the FileManagerService

Definition at line 29 of file cxFileManagerServiceBase.h.

Constructor & Destructor Documentation

cx::FileManagerServiceBase::FileManagerServiceBase ( )

Definition at line 23 of file cxFileManagerServiceBase.cpp.

cx::FileManagerServiceBase::~FileManagerServiceBase ( )
virtual

Definition at line 26 of file cxFileManagerServiceBase.cpp.

Member Function Documentation

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

Implements cx::FileManagerService.

Definition at line 168 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 41 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 35 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 124 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 99 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 188 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 111 of file cxFileManagerServiceBase.cpp.

bool cx::FileManagerServiceBase::isNull ( )
virtual

Implements cx::FileManagerService.

Definition at line 30 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 50 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 80 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 91 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 150 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 133 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 175 of file cxFileManagerServiceBase.cpp.

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

Implements cx::FileManagerService.

Definition at line 159 of file cxFileManagerServiceBase.cpp.


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