librime 1.2
Rime Input Method Engine, the core library
rime::LevelDbCursor Struct Reference

Public Member Functions

 LevelDbCursor (leveldb::DB *db)
bool IsValid () const
string GetKey () const
string GetValue () const
void Next ()
bool Jump (const string &key)
void Release ()

Public Attributes

leveldb::Iterator * iterator = nullptr

Constructor & Destructor Documentation

◆ LevelDbCursor()

rime::LevelDbCursor::LevelDbCursor ( leveldb::DB * db)
inline

Member Function Documentation

◆ GetKey()

string rime::LevelDbCursor::GetKey ( ) const
inline

◆ GetValue()

string rime::LevelDbCursor::GetValue ( ) const
inline

◆ IsValid()

bool rime::LevelDbCursor::IsValid ( ) const
inline

◆ Jump()

bool rime::LevelDbCursor::Jump ( const string & key)
inline

◆ Next()

void rime::LevelDbCursor::Next ( )
inline

◆ Release()

void rime::LevelDbCursor::Release ( )
inline

Member Data Documentation

◆ iterator

leveldb::Iterator* rime::LevelDbCursor::iterator = nullptr

The documentation for this struct was generated from the following file: