Code View

mstring / mstring-1.3.1.2 / src / Settings.cpp
// SPDX-License-Identifier: MIT
#include "Settings.hh"

#include <utility>

Concept::Concept( std::string prefix, std::string postfix, bool active )
  : _Prefix( std::move( prefix ) ),
    _Postfix( std::move( postfix ) ),
    _Active( active )
{
  // blank
}

FunctionConcept::FunctionConcept( std::string prefix, std::string postfix, bool active )
  : Concept( std::move( prefix ), std::move( postfix ), active )
{
  // blank
}

ErrorConcept::ErrorConcept( std::string prefix, std::string postfix, bool active )
  : FunctionConcept( std::move( prefix ), std::move( postfix ), active )
{
  // blank
}

LogConcept::LogConcept( std::string prefix, std::string postfix, bool active )
  : FunctionConcept( std::move( prefix ), std::move( postfix ), active )
{
  // blank
}

ClassConcept::ClassConcept( std::string prefix, std::string postfix, bool active )
  : Concept( std::move( prefix ), std::move( postfix ), active )
{
  // blank
}

MessageSettings::MessageSettings( )
  : _Streamable( "", "Streamable", false ),
    _String( "", "Str", false ),
    _Error( "", "Error", false ),
    _Log( "Log", "", false ),
    _Exception( "", "Exception", false ),
    _Throw( "Throw", "", false )
{
  // blank
}