librime: rime::ConfigItem Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rime::ConfigItem Class Reference

`#include <config_types.h>`

Inheritance diagram for rime::ConfigItem:
[legend]

## Public Types
enum | ValueType { kNull , kScalar , kList , kMap }

## Public Member Functions
| ConfigItem ()=default
virtual | ~ConfigItem ()=default
ValueType | type () const
virtual bool | empty () const

## Protected Member Functions
| ConfigItem (ValueType type)

## Protected Attributes
ValueType | type_ = kNull

## Member Enumeration Documentation

## ◆ ValueType

enum rime::ConfigItem::ValueType

Enumerator
kNull |
kScalar |
kList |
kMap |

## Constructor & Destructor Documentation

## ◆ ConfigItem() [1/2]

rime::ConfigItem::ConfigItem | ( |  | ) |
| default

## ◆ ~ConfigItem()

virtual rime::ConfigItem::~ConfigItem | ( |  | ) |
| virtualdefault

## ◆ ConfigItem() [2/2]

rime::ConfigItem::ConfigItem | ( | ValueType | type | ) |
| inlineprotected

## Member Function Documentation

## ◆ empty()

virtual bool rime::ConfigItem::empty | ( |  | ) | const
| inlinevirtual

Reimplemented in rime::ConfigList, rime::ConfigMap, and rime::ConfigValue.

## ◆ type()

ValueType rime::ConfigItem::type | ( |  | ) | const
| inline

## Member Data Documentation

## ◆ type_

ValueType rime::ConfigItem::type_ = kNull
| protected

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

- config_types.h