gatb.core-API-0.0.0
|
#include <IBank.hpp>
Public Member Functions | |
virtual IBank * | createBank (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 () |
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.
|
pure virtual |