librime: rime::Calculation Class Reference

| librime 1.2 Rime Input Method Engine, the core library

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

`#include <calculus.h>`

Inheritance diagram for rime::Calculation:
[legend]

## Public Types
using | Factory = Calculation*(const vector<string>& args)

## Public Member Functions
| Calculation ()=default
virtual | ~Calculation ()=default
virtual bool | Apply (Spelling *spelling)=0
virtual bool | addition ()
virtual bool | deletion ()

## Member Typedef Documentation

## ◆ Factory

using rime::Calculation::Factory = Calculation*(const vector<string>& args)

## Constructor & Destructor Documentation

## ◆ Calculation()

rime::Calculation::Calculation | ( |  | ) |
| default

## ◆ ~Calculation()

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

## Member Function Documentation

## ◆ addition()

virtual bool rime::Calculation::addition | ( |  | ) |
| inlinevirtual

Reimplemented in rime::Erasion.

## ◆ Apply()

virtual bool rime::Calculation::Apply | ( | Spelling * | spelling | ) |
| pure virtual

Implemented in rime::Abbreviation, rime::Correction, rime::Erasion, rime::Fuzzing, rime::Transformation, and rime::Transliteration.

## ◆ deletion()

virtual bool rime::Calculation::deletion | ( |  | ) |
| inlinevirtual

Reimplemented in rime::Derivation.

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

- calculus.h