Definition at line 2462 of file ftmctrl.cc.
References Error(), Configuration::GetDef(), Configuration::HasDef(), and str.
2464 if (!conf.
HasDef(name, sub))
2466 T::Error(
"Neither "+name+
"default nor "+name+sub+
" found.");
2470 const V val = conf.
GetDef<V>(name, sub);
2476 str << name << sub <<
"=" << val <<
" exceeds allowed maximum of " << max <<
"!";
T GetDef(const std::string &var, const S &val)
bool HasDef(const std::string &var, const T &val)