librime: rime::Transactional Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Protected Attributes | List of all members
rime::Transactional Class Reference

`#include <db.h>`

Inheritance diagram for rime::Transactional:
[legend]

## Public Member Functions
| Transactional ()=default
virtual | ~Transactional ()=default
virtual bool | BeginTransaction ()
virtual bool | AbortTransaction ()
virtual bool | CommitTransaction ()
bool | in_transaction () const

## Protected Attributes
bool | in_transaction_ = false

## Constructor & Destructor Documentation

## ◆ Transactional()

rime::Transactional::Transactional | ( |  | ) |
| default

## ◆ ~Transactional()

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

## Member Function Documentation

## ◆ AbortTransaction()

virtual bool rime::Transactional::AbortTransaction | ( |  | ) |
| inlinevirtual

Reimplemented in rime::LevelDb.

## ◆ BeginTransaction()

virtual bool rime::Transactional::BeginTransaction | ( |  | ) |
| inlinevirtual

Reimplemented in rime::LevelDb.

## ◆ CommitTransaction()

virtual bool rime::Transactional::CommitTransaction | ( |  | ) |
| inlinevirtual

Reimplemented in rime::LevelDb.

## ◆ in_transaction()

bool rime::Transactional::in_transaction | ( |  | ) | const
| inline

## Member Data Documentation

## ◆ in_transaction_

bool rime::Transactional::in_transaction_ = false
| protected

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

- db.h