#include "StyledTextEntry.h"
◆ StyledTextEntry() [1/4]
ot::StyledTextEntry::StyledTextEntry |
( |
| ) |
|
|
default |
◆ StyledTextEntry() [2/4]
◆ StyledTextEntry() [3/4]
ot::StyledTextEntry::StyledTextEntry |
( |
const ConstJsonObject & | _jsonObject | ) |
|
◆ StyledTextEntry() [4/4]
◆ ~StyledTextEntry()
virtual ot::StyledTextEntry::~StyledTextEntry |
( |
| ) |
|
|
virtualdefault |
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
_object | Json object reference to write the data to. |
_allocator | Allocator. |
Implements ot::Serializable.
◆ getStyle() [1/2]
◆ getStyle() [2/2]
◆ getText() [1/2]
std::string & ot::StyledTextEntry::getText |
( |
void | | ) |
|
|
inline |
◆ getText() [2/2]
const std::string & ot::StyledTextEntry::getText |
( |
void | | ) |
const |
|
inline |
◆ operator=()
◆ 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). |
Implements ot::Serializable.
◆ setStyle()
◆ setText()
void ot::StyledTextEntry::setText |
( |
const std::string & | _text | ) |
|
|
inline |
The documentation for this class was generated from the following files: