ADTF
|
Value setter to set the value of the given element as a ValueType
if supported.
More...
Static Public Member Functions | |
static void | setValue (CodecType &codec, const CodecIndex &codec_index, const ValueType &value) |
Sets the current value of the given element as a ValueType if supported. More... | |
Value setter to set the value of the given element as a 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 241 of file value_access.h.
|
inlinestatic |
Sets the current value of the given element as a ValueType
if supported.
[in] | codec_index | The codec index of the element. |
[in] | codec | The codec to set the value to. |
[in] | value | the value as ValueType to set. |
throws | std::runtime_error if not found by codec. |
Definition at line 249 of file value_access.h.
References ValueSetter< CodecType, ValueType >::setValue(), and LeafValueSetter< ValueType >::setValue().