QXRD
0.11.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qxrd
source
submodules
qceplib
qceplib-base
qcepimagedataformatfactory.h
Go to the documentation of this file.
1
#ifndef QCEPIMAGEDATAFORMATFACTORY_H
2
#define QCEPIMAGEDATAFORMATFACTORY_H
3
4
#include "
qcepmacros.h
"
5
6
#include <QObject>
7
#include <QString>
8
#include <QList>
9
#include "
qcepimagedataformat-ptr.h
"
10
11
template
<
typename
T>
12
class
QcepImageDataFormatFactory
13
{
14
private
:
15
static
bool
s_Created
;
16
static
QcepImageDataFormatFactory<T>
*
s_Factory
;
17
18
QcepImageDataFormatFactory
();
19
20
public
:
21
static
QcepImageDataFormatFactory<T>
*
factory
();
22
~QcepImageDataFormatFactory
();
23
24
void
insert
(
QcepImageDataFormat<T>
*f);
25
QcepImageDataFormat<T>
*
canLoad
(QString path);
26
27
private
:
28
QList<QcepImageDataFormat<T>*>
m_Formats
;
29
};
30
31
#endif
QcepImageDataFormatFactory::~QcepImageDataFormatFactory
~QcepImageDataFormatFactory()
Definition:
qcepimagedataformatfactory.cpp:28
qcepimagedataformat-ptr.h
qcepmacros.h
QcepImageDataFormatFactory::factory
static QcepImageDataFormatFactory< T > * factory()
Definition:
qcepimagedataformatfactory.cpp:12
QcepImageDataFormatFactory::s_Created
static bool s_Created
Definition:
qcepimagedataformatfactory.h:15
QcepImageDataFormatFactory
Definition:
qcepimagedataformatfactory.h:12
QcepImageDataFormatFactory::s_Factory
static QcepImageDataFormatFactory< T > * s_Factory
Definition:
qcepimagedataformatfactory.h:16
QcepImageDataFormatFactory::canLoad
QcepImageDataFormat< T > * canLoad(QString path)
Definition:
qcepimagedataformatfactory.cpp:40
QcepImageDataFormat
Definition:
qcepimagedataformat-ptr.h:4
QcepImageDataFormatFactory::insert
void insert(QcepImageDataFormat< T > *f)
Definition:
qcepimagedataformatfactory.cpp:34
QcepImageDataFormatFactory::QcepImageDataFormatFactory
QcepImageDataFormatFactory()
Definition:
qcepimagedataformatfactory.cpp:23
QcepImageDataFormatFactory::m_Formats
QList< QcepImageDataFormat< T > * > m_Formats
Definition:
qcepimagedataformatfactory.h:28
Generated by
1.8.10