librime: rime::Registry Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Types | Public Member Functions | Static Public Member Functions | List of all members
rime::Registry Class Reference

`#include <registry.h>`

## Public Types
using | ComponentMap = map<string, ComponentBase*>

## Public Member Functions
RIME_DLL ComponentBase * | Find (const string &name)
RIME_DLL void | Register (const string &name, ComponentBase *component)
RIME_DLL void | Unregister (const string &name)
void | Clear ()

## Static Public Member Functions
static RIME_DLL Registry & | instance ()

## Member Typedef Documentation

## ◆ ComponentMap

using rime::Registry::ComponentMap = map<string, ComponentBase*>

## Member Function Documentation

## ◆ Clear()

void rime::Registry::Clear | ( |  | ) |

## ◆ Find()

ComponentBase * rime::Registry::Find | ( | const string & | name | ) |

## ◆ instance()

Registry & rime::Registry::instance | ( |  | ) |
| static

## ◆ Register()

void rime::Registry::Register | ( | const string & | name,
|  | ComponentBase * | component )

## ◆ Unregister()

void rime::Registry::Unregister | ( | const string & | name | ) |

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

- registry.h
- registry.cc