librime: rime::DbPool< T > Class Template Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Protected Attributes | List of all members
rime::DbPool< T > Class Template Reference

`#include <db_pool.h>`

## Public Member Functions
| DbPool (the< ResourceResolver > resource_resolver)
an< T > | GetDb (const string &db_name)

## Protected Attributes
the< ResourceResolver > | resource_resolver_
map< string, weak< T > > | db_pool_

## Constructor & Destructor Documentation

## ◆ DbPool()

template<class T>

rime::DbPool< T >::DbPool | ( | the< ResourceResolver > | resource_resolver | ) |
| explicit

## Member Function Documentation

## ◆ GetDb()

template<class T>

an< T > rime::DbPool< T >::GetDb | ( | const string & | db_name | ) |

## Member Data Documentation

## ◆ db_pool_

template<class T>

map<string, weak<T> > rime::DbPool< T >::db_pool_
| protected

## ◆ resource_resolver_

template<class T>

the<ResourceResolver> rime::DbPool< T >::resource_resolver_
| protected

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

- db_pool.h
- db_pool_impl.h