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

Settings of an artefact that is a function ($STRING, $ERROR, $THROW, $SYSLOG). More...

#include <Settings.hh>

+ Inheritance diagram for FunctionConcept:
+ Collaboration diagram for FunctionConcept:

Public Member Functions

 FunctionConcept (std::string prefix="", std::string postfix="", bool active=false)
 
- Public Member Functions inherited from Concept
 Concept (std::string prefix="", std::string postfix="", bool active=false)
 
virtual ~Concept ()=default
 

Public Attributes

membernaming _Type { NONMEMBER }
 
std::string _Naming
 The class (MEMBER OF) or function name (MEMBER AS). More...
 
bool _Constness { true }
 Generate a const member function. More...
 
- Public Attributes inherited from Concept
std::string _Prefix
 Prepended to the message name. More...
 
std::string _Postfix
 Appended to the message name. More...
 
bool _Active { false }
 ENABLE / DISABLE. More...
 
bool _Customized { false }
 Prefix/postfix changed by a directive. More...
 
bool _LocaleExtra { true }
 Also generate the std::locale overload. More...
 

Detailed Description

Settings of an artefact that is a function ($STRING, $ERROR, $THROW, $SYSLOG).

Constructor & Destructor Documentation

◆ FunctionConcept()

FunctionConcept::FunctionConcept ( std::string  prefix = "",
std::string  postfix = "",
bool  active = false 
)

Member Data Documentation

◆ _Type

◆ _Naming

std::string FunctionConcept::_Naming

The class (MEMBER OF) or function name (MEMBER AS).

Referenced by MStringParser::functionOption(), and MessagePrototypeWriter::Place().

◆ _Constness

bool FunctionConcept::_Constness { true }

Generate a const member function.

Referenced by MStringParser::functionOption(), and MessagePrototypeWriter::Place().


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