1#include <Core/Containers/VariableSetEnumManagement.hpp>
5namespace VariableSetEnumManagement {
8 auto converterFunc = vs.existsVariable<
10 if ( converterFunc ) { ( *converterFunc )->second( vs, name, value ); }
12 LOG( Core::Utils::logWARNING ) <<
"VariableSet: try to set enum value from string without "
13 "converter, ignored. Variable name: ["
14 << name <<
"], value: [" << value <<
"]";
18void setEnumVariable( VariableSet& vs,
const std::string& name,
const char* value ) {
hepler function to manage enum as underlying types in VariableSet