mstring  1.3.1
Generates C++ message functions and classes from localized message definitions
Message.hh File Reference

The parsed form of a $MESSAGE: its parameters and its texts per locale. More...

#include <memory>
#include <string>
#include <vector>
#include "Settings.hh"
+ Include dependency graph for Message.hh:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  Parameter
 A @ name type parameter line. More...
 
struct  TextElement
 A run of literal text, or a {$expression;format;...} macro. More...
 
struct  LocaleMessage
 The text of a message in one language / charset. More...
 
struct  Message
 A $MESSAGE block. More...
 

Typedefs

typedef std::vector< Parameter > ParameterList
 
typedef std::string Format
 
typedef std::vector< Format > FormatList
 
typedef std::vector< TextElement > TextElementList
 
typedef std::vector< LocaleMessage > LocaleMessageList
 
typedef std::vector< Message > MessageList
 

Detailed Description

The parsed form of a $MESSAGE: its parameters and its texts per locale.

Typedef Documentation

◆ ParameterList

typedef std::vector<Parameter> ParameterList

◆ Format

typedef std::string Format

◆ FormatList

typedef std::vector<Format> FormatList

◆ TextElementList

typedef std::vector<TextElement> TextElementList

◆ LocaleMessageList

typedef std::vector<LocaleMessage> LocaleMessageList

◆ MessageList

typedef std::vector<Message> MessageList