|
| VectorParameter ()=delete |
| Deleted constructor. More...
|
|
| VectorParameter (const VectorParameter< T > &)=default |
| Default copy constructor. More...
|
|
VectorParameter< T > & | operator= (const VectorParameter< T > &)=default |
| Default assignement operator. More...
|
|
| ~VectorParameter ()=default |
| Default destructor. More...
|
|
| VectorParameter (const std::string &na, const std::string &desc) |
| Constructor. More...
|
|
| VectorParameter (const std::string &na, const std::string &desc, const std::vector< T > &defVal) |
| Constructor. More...
|
|
| VectorParameter (Configurable &conf, const std::string &na, const std::string &desc) |
| Constructor. More...
|
|
| VectorParameter (Configurable &conf, const std::string &na, const std::string &desc, const std::vector< T > &defVal) |
| Constructor. More...
|
|
auto | at (typename std::vector< T >::size_type idx) const |
|
auto | operator[] (typename std::vector< T >::size_type idx) const |
|
auto | front () const |
|
auto | back () const |
|
auto | data () const |
|
auto | begin () const |
|
auto | end () const |
|
auto | cbegin () const |
|
auto | cend () const |
|
auto | rbegin () const |
|
auto | rend () const |
|
auto | crbegin () const |
|
auto | crend () const |
|
auto | empty () const |
|
auto | size () const |
|
auto | max_size () const |
|
virtual | ~ParameterBase ()=default |
| Default destructor. More...
|
|
| ParameterBase (EParameterType paramType, const std::string &na, const std::string &desc) |
| Constructor. More...
|
|
| ParameterBase (EParameterType paramType, const std::string &na, const std::string &desc, const std::vector< T > &defVal) |
| Constructor. More...
|
|
| ParameterBase (Configurable &conf, EParameterType paramType, const std::string &na, const std::string &desc) |
| Constructor. More...
|
|
| ParameterBase (Configurable &conf, EParameterType paramType, const std::string &na, const std::string &desc, const std::vector< T > &defVal) |
| Constructor. More...
|
|
EParameterType | type () const |
| Get the parameter type. More...
|
|
const std::string & | name () const |
| Get the property name. More...
|
|
const std::string & | description () const |
| Get the parameter description. More...
|
|
bool | isSet () const |
| Whether the parameter has been set. More...
|
|
bool | hasDefault () const |
| Whether the parameter has a default value. More...
|
|
std::string | str () const |
| Get the parameter value as string. More...
|
|
std::string | defaultStr () const |
| Get the parameter default value as string. More...
|
|
std::string | typeStr () const |
| Get the parameter type as string. More...
|
|
const std::type_index & | typeIndex () const |
| Get a type index object of the underlying type. More...
|
|
| operator std::vector< T > () const |
| Implicit conversion operator to get the parameter value. More...
|
|
std::vector< T > | get () const |
| Get the parameter value. More...
|
|
std::vector< T > | get (const std::vector< T > &fallback) const |
| Get the parameter value. More...
|
|
void | set (const std::vector< T > &value) |
| Set the parameter value. More...
|
|
void | reset () |
| Reset the parameter value (only) More...
|
|
void | setValidator (ValidatorFunctionT< std::vector< T > > validator) |
| Set the validator function. More...
|
|
template<typename T>
class marlinmt::VectorParameter< T >
VectorParameter<T> class.
High level interface to register vector parameters (std::vector<int>, std::vector<float>, ...). Defines also alias methods to std::vector<T> for easy use
Definition at line 677 of file Parameter.h.