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

Settings of an artefact that is a class ($STREAMABLE, $EXCEPTION). More...

#include <Settings.hh>

+ Inheritance diagram for ClassConcept:
+ Collaboration diagram for ClassConcept:

Public Member Functions

 ClassConcept (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

inheritance _InheritanceType { PUBLIC_INHERITANCE }
 Default: public. More...
 
std::string _Parent
 Base class; empty for none. More...
 
std::string _Override
 
- 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 class ($STREAMABLE, $EXCEPTION).

Constructor & Destructor Documentation

◆ ClassConcept()

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

Member Data Documentation

◆ _InheritanceType

◆ _Parent

std::string ClassConcept::_Parent

◆ _Override

std::string ClassConcept::_Override

$EXCEPTION OVERRIDE name: implement the base's virtual std::string name( ) const noexcept instead of generating What() / what().

Referenced by MStringParser::classDirective(), MessageHeaderWriter::ExceptionClass(), and ValidateModule().


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