|
mstring
1.3.1
Generates C++ message functions and classes from localized message definitions
|
#include <Module.hh>
Collaboration diagram for Module:Public Member Functions | |
| Message * | FindMessage (const std::string &name) |
Public Attributes | |
| std::string | Name { "NONAME" } |
$MODULE name, or -m. More... | |
| std::optional< std::string > | SourceExtension { "cpp" } |
Empty optional: NOSOURCE. More... | |
| std::optional< std::string > | HeaderExtension { "hh" } |
Empty optional: NOHEADER. More... | |
| bool | Inline { false } |
INLINE: definitions in the header. More... | |
| std::string | Export |
$EXPORT MACRO: visibility macro. More... | |
| std::vector< std::string > | Namespaces |
$NAMESPACE a::b → { "a", "b" }. More... | |
| std::vector< std::string > | Includes |
"file", <file> or a macro name. More... | |
| std::vector< std::string > | Usings |
$USING entities. More... | |
| MessageList | Messages |
|
inline |
References Messages.
Referenced by MStringParser::messageDirective().
Here is the caller graph for this function:| std::string Module::Name { "NONAME" } |
$MODULE name, or -m.
Referenced by HeaderFileName(), main(), MStringParser::moduleDirective(), SourceFileName(), and ValidateModule().
| std::optional<std::string> Module::SourceExtension { "cpp" } |
Empty optional: NOSOURCE.
Referenced by MStringParser::moduleDirective(), and SourceFileName().
| std::optional<std::string> Module::HeaderExtension { "hh" } |
Empty optional: NOHEADER.
Referenced by HeaderFileName(), MStringParser::moduleDirective(), and ValidateModule().
| bool Module::Inline { false } |
INLINE: definitions in the header.
Referenced by MStringParser::moduleDirective(), ValidateModule(), WriteCppInterface(), and WriteDefinitions().
| std::string Module::Export |
$EXPORT MACRO: visibility macro.
Referenced by MStringParser::directive(), WriteCppImplementation(), and WriteCppInterface().
| std::vector<std::string> Module::Namespaces |
$NAMESPACE a::b → { "a", "b" }.
Referenced by MStringParser::namespaceDirective(), and WriteDefinitions().
| std::vector<std::string> Module::Includes |
"file", <file> or a macro name.
Referenced by MStringParser::includeDirective().
| std::vector<std::string> Module::Usings |
$USING entities.
Referenced by MStringParser::usingDirective().
| MessageList Module::Messages |