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

◆ FileManagerServiceBase()

cx::FileManagerServiceBase::FileManagerServiceBase ( )

Definition at line 23 of file cxFileManagerServiceBase.cpp.

◆ ~FileManagerServiceBase()

cx::FileManagerServiceBase::~FileManagerServiceBase ( )
virtual

Definition at line 26 of file cxFileManagerServiceBase.cpp.

Member Function Documentation

◆ addFileReaderWriter()

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

Implements cx::FileManagerService.

Definition at line 168 of file cxFileManagerServiceBase.cpp.

◆ canLoad()

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

Implements cx::FileManagerService.

Definition at line 41 of file cxFileManagerServiceBase.cpp.

◆ canLoadDataType()

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

Implements cx::FileManagerService.

Definition at line 35 of file cxFileManagerServiceBase.cpp.

◆ findDataTypeFromFile()

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

Implements cx::FileManagerService.

Definition at line 124 of file cxFileManagerServiceBase.cpp.

◆ getExportersForDataType()

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

Implements cx::FileManagerService.

Definition at line 99 of file cxFileManagerServiceBase.cpp.

◆ getFileReaderName()

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

Implements cx::FileManagerService.

Definition at line 188 of file cxFileManagerServiceBase.cpp.

◆ getImportersForDataType()

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

Implements cx::FileManagerService.

Definition at line 111 of file cxFileManagerServiceBase.cpp.

◆ isNull()

bool cx::FileManagerServiceBase::isNull ( )
virtual

Implements cx::FileManagerService.

Definition at line 30 of file cxFileManagerServiceBase.cpp.

◆ load()

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

Implements cx::FileManagerService.

Definition at line 50 of file cxFileManagerServiceBase.cpp.

◆ loadVtkImageData()

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

Implements cx::FileManagerService.

Definition at line 80 of file cxFileManagerServiceBase.cpp.

◆ loadVtkPolyData()

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

Implements cx::FileManagerService.

Definition at line 91 of file cxFileManagerServiceBase.cpp.

◆ read()

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

Implements cx::FileManagerService.

Definition at line 150 of file cxFileManagerServiceBase.cpp.

◆ readInto()

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

Implements cx::FileManagerService.

Definition at line 133 of file cxFileManagerServiceBase.cpp.

◆ removeFileReaderWriter()

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

Implements cx::FileManagerService.

Definition at line 175 of file cxFileManagerServiceBase.cpp.

◆ save()

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: