librime: rime::LevelDbAccessor Class Reference

| librime 1.2 Rime Input Method Engine, the core library

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

`#include <level_db.h>`

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

## Public Member Functions
| LevelDbAccessor ()
| LevelDbAccessor (LevelDbCursor *cursor, const string &prefix)
virtual | ~LevelDbAccessor ()
bool | Reset () override
bool | Jump (const string &key) override
bool | GetNextRecord (string *key, string *value) override
bool | exhausted () override
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

## ◆ LevelDbAccessor() [1/2]

rime::LevelDbAccessor::LevelDbAccessor | ( |  | ) |

## ◆ LevelDbAccessor() [2/2]

rime::LevelDbAccessor::LevelDbAccessor | ( | LevelDbCursor * | cursor,
|  | const string & | prefix )

## ◆ ~LevelDbAccessor()

rime::LevelDbAccessor::~LevelDbAccessor | ( |  | ) |
| virtual

## Member Function Documentation

## ◆ exhausted()

bool rime::LevelDbAccessor::exhausted | ( |  | ) |
| overridevirtual

Implements rime::DbAccessor.

## ◆ GetNextRecord()

bool rime::LevelDbAccessor::GetNextRecord | ( | string * | key,
|  | string * | value )
| overridevirtual

Implements rime::DbAccessor.

## ◆ Jump()

bool rime::LevelDbAccessor::Jump | ( | const string & | key | ) |
| overridevirtual

Implements rime::DbAccessor.

## ◆ Reset()

bool rime::LevelDbAccessor::Reset | ( |  | ) |
| overridevirtual

Implements rime::DbAccessor.

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

- level_db.h
- level_db.cc