ADTF
|
Value setter to set the current value of the given element from a type ValueType
if supported.
More...
Static Public Member Functions | |
static void | setValue (CodecType &codec, const CodecIndex &codec_index, const ValueType &value) |
Sets the current value if the given element as a ValueType if supported. More... | |
Value setter to set the current value of the given element from a type ValueType
if supported.
CodecType | The type of the codec. |
ValueType | The value type supported (by default bool, all int types, float, double and std::string are supported). |
Definition at line 109 of file value_access.h.
|
inlinestatic |
Sets the current value if the given element as a ValueType
if supported.
[in] | codec | The codec. |
[in] | codec_index | The index of the element. |
[in] | value | The value to set as ValueType, if supported. |
throws | std::runtime_error if not found from codec. |
Definition at line 117 of file value_access.h.
Referenced by ValueSetterSelect< CodecType, ValueType, is_supported_leaf_type >::setValue(), and ValueSetterSelect< CodecType, ValueType, true >::setValue().