Ilwis-Objects
1.0
GIS and Remote Sensing framework for data access and processing
|
The AbstractFactory class implements some of the more general methods that are in de FactoryInterface. More...
#include <abstractfactory.h>
Public Member Functions | |
QString | description () const |
QString | type () const |
QString | subtype () const |
QString | key () const |
bool | prepare () |
bool | canUse (const Resource &resource) const |
Protected Member Functions | |
AbstractFactory (const QString &ty, const QString &sub, const QString &desc="") | |
The AbstractFactory class implements some of the more general methods that are in de FactoryInterface.
|
virtual |
checks if a resource can be used by this factory. The method is optional as not all factories do need it.
resource |
Implements Ilwis::FactoryInterface.
|
virtual |
returns an optional description of the functionality of the factory
Implements Ilwis::FactoryInterface.
|
virtual |
The combination of subtype and type in the format <subtype>::<type>, e.g. ilwis3::ilwisobjectfactory. Keys are always in lower case.
Implements Ilwis::FactoryInterface.
|
virtual |
initialization of the factory. The method is optional as not all factories need it.
Implements Ilwis::FactoryInterface.
Reimplemented in Ilwis::GeoRefImplementationFactory.
|
virtual |
while the type describes the general type, the subtype usualy points to the plug-in were it can be located. E.g. there is an IlwisObjectFactory in both the Ilwis3 connector plugin as in the Gdal connector plugin. The subtype "ilwis3" and "gdal" discriminates between them
Implements Ilwis::FactoryInterface.
|
virtual |
return the type of the factory. The combination, type+subtype ( AbstractFactory::key) is used to locate factories in the master-factory
Implements Ilwis::FactoryInterface.