#include "StyledTextBuilder.h"
◆ StyledTextBuilder() [1/3]
ot::StyledTextBuilder::StyledTextBuilder |
( |
| ) |
|
◆ StyledTextBuilder() [2/3]
ot::StyledTextBuilder::StyledTextBuilder |
( |
const ConstJsonObject & | _jsonObject | ) |
|
◆ StyledTextBuilder() [3/3]
◆ ~StyledTextBuilder()
virtual ot::StyledTextBuilder::~StyledTextBuilder |
( |
| ) |
|
|
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.
◆ getEntries()
const std::list< StyledTextEntry > ot::StyledTextBuilder::getEntries |
( |
void | | ) |
const |
|
inline |
◆ isEmpty()
bool ot::StyledTextBuilder::isEmpty |
( |
void | | ) |
const |
Returns true if the builder has no entries that should be displayed (no text provided).
◆ operator<<() [1/4]
◆ operator<<() [2/4]
◆ operator<<() [3/4]
◆ operator<<() [4/4]
◆ 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.
The documentation for this class was generated from the following files: