librime: rime::UserDb Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Classes | Public Member Functions | Static Public Member Functions | List of all members
rime::UserDb Class Reference

`#include <user_db.h>`

## Classes
class | Component
| Abstract class for a user db component. More...

## Public Member Functions
| UserDb ()=delete

## Static Public Member Functions
static string | snapshot_extension ()
static Component * | Require (const string &name)
| Requires a registered component for a user db class.

## Detailed Description

A placeholder class for user db.

Note: do not directly use this class to instantiate a user db. Instead, use the rime::UserDbWrapper<T> template, which creates wrapper classes for underlying implementations of rime::Db.

## Constructor & Destructor Documentation

## ◆ UserDb()

rime::UserDb::UserDb | ( |  | ) |
| delete

## Member Function Documentation

## ◆ Require()

Component * rime::UserDb::Require | ( | const string & | name | ) |
| inlinestatic

Requires a registered component for a user db class.

## ◆ snapshot_extension()

string rime::UserDb::snapshot_extension | ( |  | ) |
| static

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

- user_db.h
- user_db.cc