|
|
| Parameter ()=default |
| | Construct a parameter object with empty (key,value,name).
|
| template<typename T> |
| | Parameter (const String &key, T v, const String &name=String()) |
| | Construct a parameter object with key & value & name ( optional ).
|
| | Parameter (const String &key, const String &v, const String &name=String()) |
| | Construct a parameter object with key & string value & name ( optional ).
|
| | Parameter (const String &key, const ParameterList &v, const String &name=String()) |
| | Construct a parameter object with key & ParameterList value & name ( optional ).
|
| | Parameter (const Parameter ¶meter)=default |
| | Default copy constructor.
|
| | Parameter (Parameter &¶meter)=default |
| | Default move constructor noexcept is deduced.
|
| Parameter & | operator= (const Parameter ¶meter)=default |
| | Default copy assignment.
|
| Parameter & | operator= (Parameter &¶meter)=default |
| | Default move assignment noexcept is deduced.
|
| bool | operator== (const Parameter &obj) const noexcept |
| | Comparison operator equal ( will check key & value & name ).
|
| bool | operator!= (const Parameter &obj) const noexcept |
| | Comparison operator not equal ( will check key & value & name ).
|
| bool | operator! () const noexcept |
| | Check if this object is invalid.
|
| | operator bool () const noexcept |
| | Check if this object is valid.
|
| EValueType | getType () const noexcept |
| | Get the original type of the value ( i.e.
|
| const StringRef | getKey () const noexcept |
| | Get the parameter key.
|
| const StringRef | getName () const noexcept |
| | Get the parameter name.
|
| template<typename T> |
| std::enable_if< std::is_same< T, bool >::value, T >::type | getValue () const noexcept |
| | Get the value as bool.
|
| template<typename T> |
| std::enable_if< std::is_integral< T >::value &&!std::is_same< T, bool >::value, T >::type | getValue () const noexcept |
| | Get the value as 64 bit integer.
|
| template<typename T> |
| std::enable_if< std::is_same< T, double >::value, T >::type | getValue () const noexcept |
| | Get the value as double.
|
| template<typename T> |
| std::enable_if< std::is_same< T, String >::value, T >::type | getValue () const noexcept |
| | Get the value as string.
|
| template<typename T> |
| std::enable_if< std::is_same< T, DataBuffer >::value, T >::type | getValue () const noexcept |
| | Get the value as blob data buffer.
|
| template<typename T> |
| std::enable_if< std::is_same< T, SearchableParameterList >::value||std::is_same< T, ParameterList >::value, T >::type | getValue () const noexcept |
| | Get the value as searchable parameter list.
|
Parameter object.
A parameter is a tuple ( key, value, name ).
Key is the string parameter identifier
Value is the parameter variant value. Use getType to get the native value storage
Name is the string parameter name. When parameters are returned from SDK the name is translated in the SDK language
Implements share-read / copy-on-write Api object over IParameter. Container for different types of values.