mstring  1.3.1
Generates C++ message functions and classes from localized message definitions
LocaleMessage Struct Reference

The text of a message in one language / charset. More...

#include <Message.hh>

+ Collaboration diagram for LocaleMessage:

Public Member Functions

 LocaleMessage (std::string language, std::string encode)
 
bool operator== (const LocaleMessage &locale) const
 
void AppendText (const std::string &text)
 Append literal text, merging it with a preceding literal run. More...
 

Public Attributes

std::string Language
 
std::string Encode
 
TextElementList TextElements
 

Detailed Description

The text of a message in one language / charset.

Constructor & Destructor Documentation

◆ LocaleMessage()

LocaleMessage::LocaleMessage ( std::string  language,
std::string  encode 
)

Member Function Documentation

◆ operator==()

bool LocaleMessage::operator== ( const LocaleMessage &  locale) const

References Encode, and Language.

◆ AppendText()

void LocaleMessage::AppendText ( const std::string &  text)

Append literal text, merging it with a preceding literal run.

References TextElements.

Referenced by MStringParser::barTextLine(), and MStringParser::quotedTextLine().

+ Here is the caller graph for this function:

Member Data Documentation

◆ Language

std::string LocaleMessage::Language

Referenced by CheckTranslations(), and operator==().

◆ Encode

std::string LocaleMessage::Encode

◆ TextElements


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