#include "CheckBoxCfg.h"
◆ CheckBoxState
Enumerator |
---|
Unchecked | |
PartiallyChecked | |
Checked | |
◆ CheckBoxCfg() [1/4]
ot::CheckBoxCfg::CheckBoxCfg |
( |
| ) |
|
◆ CheckBoxCfg() [2/4]
◆ CheckBoxCfg() [3/4]
◆ CheckBoxCfg() [4/4]
◆ ~CheckBoxCfg()
ot::CheckBoxCfg::~CheckBoxCfg |
( |
| ) |
|
|
virtual |
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
_object | Json object reference to write the data to. |
_allocator | Allocator. |
Reimplemented from ot::WidgetBaseCfg.
◆ getCheckBoxCfgTypeString()
static std::string ot::CheckBoxCfg::getCheckBoxCfgTypeString |
( |
void | | ) |
|
|
inlinestatic |
◆ getChecked()
bool ot::CheckBoxCfg::getChecked |
( |
void | | ) |
const |
|
inline |
◆ getCheckedState()
◆ getText()
const std::string & ot::CheckBoxCfg::getText |
( |
void | | ) |
const |
|
inline |
◆ getWidgetBaseTypeString()
virtual std::string ot::CheckBoxCfg::getWidgetBaseTypeString |
( |
void | | ) |
const |
|
inlineoverridevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setChecked()
void ot::CheckBoxCfg::setChecked |
( |
bool | _checked | ) |
|
|
inline |
◆ setCheckedState()
◆ setFromJsonObject()
Set the object contents from the provided JSON object.
- Parameters
-
_object | The JSON object containing the information. |
- Exceptions
-
May | throw an exception if the provided object is not valid (members missing or invalid types). |
Reimplemented from ot::WidgetBaseCfg.
◆ setText()
void ot::CheckBoxCfg::setText |
( |
const std::string & | _text | ) |
|
|
inline |
◆ stringToCheckBoxState()
◆ toString()
The documentation for this class was generated from the following files: