Empirical
|
Special settings entry for settings created during the run (only accissibly dynamically) More...
#include <config.h>
Public Member Functions | |
ConfigLiveEntry (const std::string _name, const std::string _type, const std::string _d_val, const std::string _desc) | |
~ConfigLiveEntry () | |
std::string | GetValue () const |
Retrieve the value of this setting as a string. More... | |
std::string | GetLiteralValue () const |
Conver the value of this setting into a literal that C++ would recognize as its current value. More... | |
ConfigEntry & | SetValue (const std::string &in_val, std::stringstream &warnings) |
Use a string to set the value of this setting. More... | |
bool | IsConst () const |
Identify if this setting is fixed at compile time. More... | |
const std::string & | GetName () const |
const std::string & | GetType () const |
const std::string & | GetDefault () const |
const std::string & | GetDescription () const |
ConfigEntry & | SetName (const std::string &_in) |
ConfigEntry & | SetType (const std::string &_in) |
ConfigEntry & | SetDefault (const std::string &_in) |
ConfigEntry & | SetDescription (const std::string &_in) |
ConfigEntry & | AddAlias (const std::string &_in) |
Alert this setting that it is aliased to alternate possible names. More... | |
bool | HasAlias (const std::string &_in) |
Are there any alternate names for this setting? More... | |
bool | IsMatch (const std::string &_in) |
Will the provided name match this setting? More... | |
const std::unordered_set< std::string > & | GetAliases () |
Retrieve the full set of aliases. More... | |
Protected Attributes | |
std::string | name |
std::string | type |
std::string | default_val |
std::string | desc |
std::unordered_set< std::string > | alias_set |
Special settings entry for settings created during the run (only accissibly dynamically)
|
inline |
|
inline |
|
inlineinherited |
Alert this setting that it is aliased to alternate possible names.
|
inlineinherited |
Retrieve the full set of aliases.
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
Conver the value of this setting into a literal that C++ would recognize as its current value.
Implements emp::ConfigEntry.
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
Retrieve the value of this setting as a string.
Implements emp::ConfigEntry.
|
inlineinherited |
Are there any alternate names for this setting?
|
inlinevirtual |
Identify if this setting is fixed at compile time.
Implements emp::ConfigEntry.
|
inlineinherited |
Will the provided name match this setting?
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
Use a string to set the value of this setting.
Implements emp::ConfigEntry.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |