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

$ERROR settings. More...

#include <Settings.hh>

+ Inheritance diagram for ErrorConcept:
+ Collaboration diagram for ErrorConcept:

Public Member Functions

 ErrorConcept (std::string prefix="", std::string postfix="", bool active=false)
 
- Public Member Functions inherited from FunctionConcept
 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

std::string _ExitCall { "std::exit( EXIT_FAILURE )" }
 The statement run after printing. More...
 
- Public Attributes inherited from FunctionConcept
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

$ERROR settings.

Constructor & Destructor Documentation

◆ ErrorConcept()

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

Member Data Documentation

◆ _ExitCall

std::string ErrorConcept::_ExitCall { "std::exit( EXIT_FAILURE )" }

The statement run after printing.

Referenced by MStringParser::errorDirective().


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