morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::MessagePart Struct Reference

One part of a pattern: literal text, or a placeholder of a variable. More...

#include <message.hpp>

Public Attributes

std::string text
 The literal text; empty for a placeholder.
std::string variable
 The variable a placeholder reads, without $; empty for text.
MessageFunction function = MessageFunction::None
 The placeholder's annotation.

Detailed Description

One part of a pattern: literal text, or a placeholder of a variable.

Definition at line 300 of file message.hpp.

Member Data Documentation

◆ text

std::string morph::ui::MessagePart::text

The literal text; empty for a placeholder.

Definition at line 302 of file message.hpp.

◆ variable

std::string morph::ui::MessagePart::variable

The variable a placeholder reads, without $; empty for text.

Definition at line 304 of file message.hpp.

◆ function

MessageFunction morph::ui::MessagePart::function = MessageFunction::None

The placeholder's annotation.

Definition at line 306 of file message.hpp.


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