librime: rime::Switches::SwitchOption Struct Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Public Attributes | List of all members
rime::Switches::SwitchOption Struct Reference

`#include <switches.h>`

Collaboration diagram for rime::Switches::SwitchOption:
[legend]

## Public Member Functions
bool | found () const

## Public Attributes
an< ConfigMap > | the_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:

- switches.h