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

A parsed message in the ui/1 subset of MessageFormat 2. More...

#include <message.hpp>

Public Attributes

std::vector< std::pair< std::string, MessageFunction > > inputs
 The .input declarations: each variable with its function.
std::vector< std::string > selectors
 The .match selectors, as variable names; empty for a message without .match.
std::vector< MessageVariant > variants
 The variants of a .match.
std::vector< MessagePart > pattern
 The pattern of a message without .match.

Detailed Description

A parsed message in the ui/1 subset of MessageFormat 2.

Definition at line 318 of file message.hpp.

Member Data Documentation

◆ inputs

std::vector<std::pair<std::string, MessageFunction> > morph::ui::MessagePattern::inputs

The .input declarations: each variable with its function.

Definition at line 320 of file message.hpp.

◆ selectors

std::vector<std::string> morph::ui::MessagePattern::selectors

The .match selectors, as variable names; empty for a message without .match.

Definition at line 322 of file message.hpp.

◆ variants

std::vector<MessageVariant> morph::ui::MessagePattern::variants

The variants of a .match.

Definition at line 324 of file message.hpp.

◆ pattern

std::vector<MessagePart> morph::ui::MessagePattern::pattern

The pattern of a message without .match.

Definition at line 326 of file message.hpp.


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