Lines Matching refs:throwIfNotUsed
265 AlgorithmParametersBase(const char *name, bool throwIfNotUsed)
266 : m_name(name), m_throwIfNotUsed(throwIfNotUsed), m_used(false) {}
305 AlgorithmParametersTemplate(const char *name, const T &value, bool throwIfNotUsed)
306 : AlgorithmParametersBase(name, throwIfNotUsed), m_value(value)
340 AlgorithmParameters(const char *name, const T &value, bool throwIfNotUsed=true)
341 : m_next(new AlgorithmParametersTemplate<T>(name, value, throwIfNotUsed))
342 , m_defaultThrowIfNotUsed(throwIfNotUsed)
352 AlgorithmParameters & operator()(const char *name, const T &value, bool throwIfNotUsed)
354 member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, value, throwIfNotUsed));
357 m_defaultThrowIfNotUsed = throwIfNotUsed;
375 /*! \param throwIfNotUsed if true, the object will throw an exception if the value is not accessed
376 \note throwIfNotUsed is ignored if using a compiler that does not support std::uncaught_exception(),
386 AlgorithmParameters MakeParameters(const char *name, const T &value, bool throwIfNotUsed = true)
388 return AlgorithmParameters()(name, value, throwIfNotUsed);