FACT++  1.0
template<class T , class S >
T Configuration::GetDef ( const std::string &  var,
const S &  val 
)
inline

Definition at line 185 of file Configuration.h.

References Has(), and var().

Referenced by StateMachineFAD< T >::CheckConfigVal(), StateMachineFTM< T, S >::CheckConfigVal(), StateMachineRateScan::EvalOptions(), StateMachineFAD< T >::EvalOptions(), StateMachineFTM< T, S >::EvalOptions(), and StateMachineRateControl::GetConfig().

186  {
187  return Has(var, val) ? Get<T>(var, val) : Get<T>(var+"default");
188  }
po::typed_value< T > * var(T *ptr=0)
bool Has(const std::string &var)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: