#include "SyntaxHighlighterRule.h"
◆ SyntaxHighlighterRule() [1/3]
| ot::SyntaxHighlighterRule::SyntaxHighlighterRule |
( |
| ) |
|
◆ SyntaxHighlighterRule() [2/3]
| ot::SyntaxHighlighterRule::SyntaxHighlighterRule |
( |
const std::string & | _regularExpression, |
|
|
Painter2D * | _painter ) |
◆ SyntaxHighlighterRule() [3/3]
◆ ~SyntaxHighlighterRule()
| ot::SyntaxHighlighterRule::~SyntaxHighlighterRule |
( |
| ) |
|
|
virtual |
◆ 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.
◆ getFont()
| const Font & ot::SyntaxHighlighterRule::getFont |
( |
void | | ) |
const |
|
inline |
◆ getPainter() [1/2]
| Painter2D * ot::SyntaxHighlighterRule::getPainter |
( |
void | | ) |
|
|
inline |
◆ getPainter() [2/2]
| const Painter2D * ot::SyntaxHighlighterRule::getPainter |
( |
void | | ) |
const |
|
inline |
◆ getRegularExpression()
| const std::string & ot::SyntaxHighlighterRule::getRegularExpression |
( |
void | | ) |
const |
|
inline |
◆ operator=()
◆ setFont()
| void ot::SyntaxHighlighterRule::setFont |
( |
const Font & | _f | ) |
|
|
inline |
◆ 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.
◆ setPainter()
| void ot::SyntaxHighlighterRule::setPainter |
( |
Painter2D * | _painter | ) |
|
Set the painter. The SyntaxHighlighterRule takes ownership of the painter. An existing painter will be destroyed before replacing.
◆ setRegularExpression()
| void ot::SyntaxHighlighterRule::setRegularExpression |
( |
const std::string & | _regularExpression | ) |
|
|
inline |
The documentation for this class was generated from the following files: