|
librime 1.2
Rime Input Method Engine, the core library
|
#include <config_types.h>


Public Types | |
| using | Map = map<string, an<ConfigItem>> |
| using | Iterator = Map::iterator |
| Public Types inherited from rime::ConfigItem | |
| enum | ValueType { kNull , kScalar , kList , kMap } |
Public Member Functions | |
| ConfigMap () | |
| RIME_DLL bool | HasKey (const string &key) const |
| RIME_DLL an< ConfigItem > | Get (const string &key) const |
| RIME_DLL an< ConfigValue > | GetValue (const string &key) const |
| RIME_DLL bool | Set (const string &key, an< ConfigItem > element) |
| bool | Clear () |
| Iterator | begin () |
| Iterator | end () |
| bool | empty () const override |
| Public Member Functions inherited from rime::ConfigItem | |
| ConfigItem ()=default | |
| virtual | ~ConfigItem ()=default |
| ValueType | type () const |
Protected Attributes | |
| Map | map_ |
| Protected Attributes inherited from rime::ConfigItem | |
| ValueType | type_ = kNull |
Additional Inherited Members | |
| Protected Member Functions inherited from rime::ConfigItem | |
| ConfigItem (ValueType type) | |
| using rime::ConfigMap::Iterator = Map::iterator |
| using rime::ConfigMap::Map = map<string, an<ConfigItem>> |
|
inline |
| ConfigMap::Iterator rime::ConfigMap::begin | ( | ) |
| bool rime::ConfigMap::Clear | ( | ) |
|
inlineoverridevirtual |
Reimplemented from rime::ConfigItem.
| ConfigMap::Iterator rime::ConfigMap::end | ( | ) |
| an< ConfigItem > rime::ConfigMap::Get | ( | const string & | key | ) | const |
| an< ConfigValue > rime::ConfigMap::GetValue | ( | const string & | key | ) | const |
| bool rime::ConfigMap::HasKey | ( | const string & | key | ) | const |
| bool rime::ConfigMap::Set | ( | const string & | key, |
| an< ConfigItem > | element ) |
|
protected |