librime 1.2
Rime Input Method Engine, the core library
rime::PunctConfig Class Reference

#include <punctuator.h>

Collaboration diagram for rime::PunctConfig:

Public Member Functions

void LoadConfig (Engine *engine, bool load_symbols=false)
an< ConfigItemGetPunctDefinition (const string key)
bool has_digit_separators () const
bool is_digit_separator (char ch) const
bool digit_separator_commit () const

Protected Attributes

string shape_
an< ConfigMapmapping_
an< ConfigMapsymbols_
string digit_separators_ = ".:"
bool digit_separator_commit_ = false

Member Function Documentation

◆ digit_separator_commit()

bool rime::PunctConfig::digit_separator_commit ( ) const
inline

◆ GetPunctDefinition()

an< ConfigItem > rime::PunctConfig::GetPunctDefinition ( const string key)

◆ has_digit_separators()

bool rime::PunctConfig::has_digit_separators ( ) const
inline

◆ is_digit_separator()

bool rime::PunctConfig::is_digit_separator ( char ch) const
inline

◆ LoadConfig()

void rime::PunctConfig::LoadConfig ( Engine * engine,
bool load_symbols = false )

Member Data Documentation

◆ digit_separator_commit_

bool rime::PunctConfig::digit_separator_commit_ = false
protected

◆ digit_separators_

string rime::PunctConfig::digit_separators_ = ".:"
protected

◆ mapping_

an<ConfigMap> rime::PunctConfig::mapping_
protected

◆ shape_

string rime::PunctConfig::shape_
protected

◆ symbols_

an<ConfigMap> rime::PunctConfig::symbols_
protected

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