librime: rime::TextDbAccessor Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | List of all members
rime::TextDbAccessor Class Reference

`#include <text_db.h>`

Inheritance diagram for rime::TextDbAccessor:
[legend]
Collaboration diagram for rime::TextDbAccessor:
[legend]

## Public Member Functions
| TextDbAccessor (const TextDbData &data, const string &prefix)
virtual | ~TextDbAccessor ()
virtual bool | Reset ()
virtual bool | Jump (const string &key)
virtual bool | GetNextRecord (string *key, string *value)
virtual bool | exhausted ()
Public Member Functions inherited from rime::DbAccessor
| DbAccessor ()=default
| DbAccessor (const string &prefix)
virtual | ~DbAccessor ()=default

## Additional Inherited Members
Protected Member Functions inherited from rime::DbAccessor
bool | MatchesPrefix (const string &key)
Protected Attributes inherited from rime::DbAccessor
string | prefix_

## Constructor & Destructor Documentation

## ◆ TextDbAccessor()

rime::TextDbAccessor::TextDbAccessor | ( | const TextDbData & | data,
|  | const string & | prefix )

## ◆ ~TextDbAccessor()

rime::TextDbAccessor::~TextDbAccessor | ( |  | ) |
| virtual

## Member Function Documentation

## ◆ exhausted()

bool rime::TextDbAccessor::exhausted | ( |  | ) |
| virtual

Implements rime::DbAccessor.

## ◆ GetNextRecord()

bool rime::TextDbAccessor::GetNextRecord | ( | string * | key,
|  | string * | value )
| virtual

Implements rime::DbAccessor.

## ◆ Jump()

bool rime::TextDbAccessor::Jump | ( | const string & | key | ) |
| virtual

Implements rime::DbAccessor.

## ◆ Reset()

bool rime::TextDbAccessor::Reset | ( |  | ) |
| virtual

Implements rime::DbAccessor.

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

- text_db.h
- text_db.cc