librime 1.2
Rime Input Method Engine, the core library
rime::Switches::SwitchOption Struct Reference

#include <switches.h>

Collaboration diagram for rime::Switches::SwitchOption:

Public Member Functions

bool found () const

Public Attributes

an< ConfigMapthe_switch = nullptr
SwitchType type = kToggleOption
string option_name
int reset_value = -1
size_t switch_index = 0
size_t option_index = 0

Member Function Documentation

◆ found()

bool rime::Switches::SwitchOption::found ( ) const
inline

Member Data Documentation

◆ option_index

size_t rime::Switches::SwitchOption::option_index = 0

◆ option_name

string rime::Switches::SwitchOption::option_name

◆ reset_value

int rime::Switches::SwitchOption::reset_value = -1

◆ switch_index

size_t rime::Switches::SwitchOption::switch_index = 0

◆ the_switch

an<ConfigMap> rime::Switches::SwitchOption::the_switch = nullptr

◆ type

SwitchType rime::Switches::SwitchOption::type = kToggleOption

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