librime: rime::Menu Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | List of all members
rime::Menu Class Reference

`#include <menu.h>`

## Public Member Functions
RIME_DLL | Menu ()
RIME_DLL void | AddTranslation (an< Translation > translation)
void | AddFilter (Filter *filter)
RIME_DLL size_t | Prepare (size_t candidate_count)
RIME_DLL Page * | CreatePage (size_t page_size, size_t page_no)
an< Candidate > | GetCandidateAt (size_t index)
size_t | candidate_count () const
bool | empty () const

## Constructor & Destructor Documentation

## ◆ Menu()

rime::Menu::Menu | ( |  | ) |

## Member Function Documentation

## ◆ AddFilter()

void rime::Menu::AddFilter | ( | Filter * | filter | ) |

## ◆ AddTranslation()

void rime::Menu::AddTranslation | ( | an< Translation > | translation | ) |

## ◆ candidate_count()

size_t rime::Menu::candidate_count | ( |  | ) | const
| inline

## ◆ CreatePage()

Page * rime::Menu::CreatePage | ( | size_t | page_size,
|  | size_t | page_no )

## ◆ empty()

bool rime::Menu::empty | ( |  | ) | const

## ◆ GetCandidateAt()

an< Candidate > rime::Menu::GetCandidateAt | ( | size_t | index | ) |

## ◆ Prepare()

size_t rime::Menu::Prepare | ( | size_t | candidate_count | ) |

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

- menu.h
- menu.cc