librime: rime::Formatter Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Protected Attributes | List of all members
rime::Formatter Class Referenceabstract

`#include <formatter.h>`

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

## Public Member Functions
| Formatter (const Ticket &ticket)
virtual | ~Formatter ()=default
virtual void | Format (string *text)=0

## Protected Attributes
Engine * | engine_
string | name_space_

## Additional Inherited Members
Public Types inherited from rime::Class< Formatter, const Ticket & >
using | Initializer
Static Public Member Functions inherited from rime::Class< Formatter, const Ticket & >
static Component * | Require (const string &name)

## Constructor & Destructor Documentation

## ◆ Formatter()

rime::Formatter::Formatter | ( | const Ticket & | ticket | ) |
| inline

## ◆ ~Formatter()

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

## Member Function Documentation

## ◆ Format()

virtual void rime::Formatter::Format | ( | string * | text | ) |
| pure virtual

Implemented in rime::ShapeFormatter.

## Member Data Documentation

## ◆ engine_

Engine* rime::Formatter::engine_
| protected

## ◆ name_space_

string rime::Formatter::name_space_
| protected

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

- formatter.h