IBankFactory Class Referenceabstract

Factory for IBank. More...

#include <IBank.hpp>

Inheritance diagram for IBankFactory:
Inheritance graph

Public Member Functions

virtual IBankcreateBank (const std::string &uri)=0
- Public Member Functions inherited from SmartPointer
void use ()
void forget ()
- Public Member Functions inherited from ISmartPointer
virtual ~ISmartPointer ()

Additional Inherited Members

- Protected Member Functions inherited from SmartPointer
 SmartPointer ()
virtual ~SmartPointer ()

Detailed Description

Factory for IBank.

This interface provides a factory method that builds a IBank* instance given some identifier.

Such an identifier can be an uri (FASTA banks for instance), or any mechanism allowing to retrieve enough information for creating instances of a specific IBank implementation.

Actually, the gatb::core::bank::impl::Bank class relies on a list of registered IBankFactory instances.

Member Function Documentation

virtual IBank* createBank ( const std::string &  uri)
pure virtual

Create an instance of IBank for a given uri.

[in]uri: the uri used for create the bank
the IBank instance.

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