librime: rime::Sink Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | List of all members
rime::Sink Class Referenceabstract

`#include <db_utils.h>`

Inheritance diagram for rime::Sink:
[legend]

## Public Member Functions
virtual | ~Sink ()=default
virtual bool | MetaPut (const string &key, const string &value)=0
virtual bool | Put (const string &key, const string &value)=0
template<class SourceType>
int | operator<< (SourceType &source)

## Constructor & Destructor Documentation

## ◆ ~Sink()

virtual rime::Sink::~Sink | ( |  | ) |
| virtualdefault

## Member Function Documentation

## ◆ MetaPut()

virtual bool rime::Sink::MetaPut | ( | const string & | key,
|  | const string & | value )
| pure virtual

Implemented in rime::DbSink, rime::UserDbImporter, and rime::UserDbMerger.

## ◆ operator<<()

template<class SourceType>

int rime::Sink::operator<< | ( | SourceType & | source | ) |

## ◆ Put()

virtual bool rime::Sink::Put | ( | const string & | key,
|  | const string & | value )
| pure virtual

Implemented in rime::DbSink, rime::UserDbImporter, and rime::UserDbMerger.

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

- db_utils.h