Type-specific versions of ConfigEntry class to manage settings.
More...
#include <config.h>
template<class VAR_TYPE>
class emp::Config::tConfigEntry< VAR_TYPE >
Type-specific versions of ConfigEntry class to manage settings.
template<class VAR_TYPE >
template<class VAR_TYPE >
ConfigEntry& emp::ConfigEntry::AddAlias |
( |
const std::string & |
_in | ) |
|
|
inlineinherited |
Alert this setting that it is aliased to alternate possible names.
const std::unordered_set<std::string>& emp::ConfigEntry::GetAliases |
( |
| ) |
|
|
inlineinherited |
Retrieve the full set of aliases.
const std::string& emp::ConfigEntry::GetDefault |
( |
| ) |
const |
|
inlineinherited |
const std::string& emp::ConfigEntry::GetDescription |
( |
| ) |
const |
|
inlineinherited |
template<class VAR_TYPE >
Conver the value of this setting into a literal that C++ would recognize as its current value.
Implements emp::ConfigEntry.
const std::string& emp::ConfigEntry::GetName |
( |
| ) |
const |
|
inlineinherited |
const std::string& emp::ConfigEntry::GetType |
( |
| ) |
const |
|
inlineinherited |
template<class VAR_TYPE >
bool emp::ConfigEntry::HasAlias |
( |
const std::string & |
_in | ) |
|
|
inlineinherited |
Are there any alternate names for this setting?
template<class VAR_TYPE >
bool emp::ConfigEntry::IsMatch |
( |
const std::string & |
_in | ) |
|
|
inlineinherited |
Will the provided name match this setting?
ConfigEntry& emp::ConfigEntry::SetDefault |
( |
const std::string & |
_in | ) |
|
|
inlineinherited |
ConfigEntry& emp::ConfigEntry::SetDescription |
( |
const std::string & |
_in | ) |
|
|
inlineinherited |
ConfigEntry& emp::ConfigEntry::SetName |
( |
const std::string & |
_in | ) |
|
|
inlineinherited |
ConfigEntry& emp::ConfigEntry::SetType |
( |
const std::string & |
_in | ) |
|
|
inlineinherited |
template<class VAR_TYPE >
std::unordered_set<std::string> emp::ConfigEntry::alias_set |
|
protectedinherited |
std::string emp::ConfigEntry::default_val |
|
protectedinherited |
std::string emp::ConfigEntry::desc |
|
protectedinherited |
template<class VAR_TYPE >
std::string emp::ConfigEntry::name |
|
protectedinherited |
std::string emp::ConfigEntry::type |
|
protectedinherited |
The documentation for this class was generated from the following file: