21 #ifndef mia_core_paramarray_hh 22 #define mia_core_paramarray_hh 38 const std::vector<T>& boundaries,
48 std::vector<T> m_params;
54 m_default_value(default_value)
62 const std::vector<T>& boundaries,
67 boundaries,
false, help)));
76 new CTParameter<std::vector<T> >(m_params,
false, help)));
83 return m_default_value;
84 return l < m_params.size() ? m_params[l] : m_params[m_params.size() - 1];
T operator[](unsigned l) const
TPerLevelScalarParam(T default_value)
Generic type of a complex paramter.
EParameterBounds
Scalar parameter with an expected value range.
command line option that handles a parameter
std::shared_ptr< CCmdOption > PCmdOption
a shared pointer definition of the Option
PCmdOption create_level_params_option(const char *long_name, char short_name, EParameterBounds flags, const std::vector< T > &boundaries, const char *help)