librime: rime::Code Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Static Public Attributes | List of all members
rime::Code Class Reference

`#include <vocabulary.h>`

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

## Public Member Functions
| Code ()=default
| Code (const Code::const_iterator &begin, const Code::const_iterator &end)
bool | operator< (const Code &other) const
bool | operator== (const Code &other) const
void | CreateIndex (Code *index_code)
string | ToString () const

## Static Public Attributes
static const size_t | kIndexCodeMaxLength = 3

## Constructor & Destructor Documentation

## ◆ Code() [1/2]

rime::Code::Code | ( |  | ) |
| default

## ◆ Code() [2/2]

rime::Code::Code | ( | const Code::const_iterator & | begin,
|  | const Code::const_iterator & | end )
| inline

## Member Function Documentation

## ◆ CreateIndex()

void rime::Code::CreateIndex | ( | Code * | index_code | ) |

## ◆ operator<()

bool rime::Code::operator< | ( | const Code & | other | ) | const

## ◆ operator==()

bool rime::Code::operator== | ( | const Code & | other | ) | const

## ◆ ToString()

string rime::Code::ToString | ( |  | ) | const

## Member Data Documentation

## ◆ kIndexCodeMaxLength

const size_t rime::Code::kIndexCodeMaxLength = 3
| static

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

- vocabulary.h
- vocabulary.cc