OpenDaVINCI  4.16.0
odcore::wrapper::KeyValueDatabaseFactoryWorker< product > Class Template Reference

#include <KeyValueDatabaseFactoryWorker.h>

Static Public Member Functions

static std::shared_ptr
< KeyValueDatabase
createKeyValueDatabase ()
 

Detailed Description

template<KeyValueDatabaseLibraryProducts product>
class odcore::wrapper::KeyValueDatabaseFactoryWorker< product >

This template class provides factory methods to the KeyValueDatabaseFactory. The factory methods' implementations for different products have to be defined in specializations of the KeyValueDatabaseFactoryWorker template class.

KeyValueDatabaseFactory, KeyValueDatabaseFactoryWorker, KeyValueDatabaseFactoryLibraryProducts, SimpleDBKeyValueDatabaseFactory

Member Function Documentation

template<KeyValueDatabaseLibraryProducts product>
static std::shared_ptr<KeyValueDatabase> odcore::wrapper::KeyValueDatabaseFactoryWorker< product >::createKeyValueDatabase ( )
static

This method returns a wrapped key/value database.

Returns
key/value database based on the type of instance this factory is.

Referenced by odcore::wrapper::KeyValueDatabaseFactory::createKeyValueDatabase().