ADTF
|
Value getter to retrieve the current value of the given element as a ValueType
if supported.
More...
Static Public Member Functions | |
static void | getValue (const DecoderType &decoder, const CodecIndex &codec_index, ValueType &value) |
Returns the current value of the given element as a ValueType if supported. More... | |
Value getter to retrieve the current value of the given element as a ValueType
if supported.
DecoderType | The type of the decoder. |
ValueType | The value type supported (by default bool, all int types, float, double and std::string are supported). |
Definition at line 57 of file value_access.h.
|
inlinestatic |
Returns the current value of the given element as a ValueType
if supported.
[in] | decoder | The decoder. |
[in] | codec_index | The index of the element. |
[out] | value | ValueType Returns the current value as ValueType if supported. |
throws | std::runtime_error if not found by decoder. |
Definition at line 65 of file value_access.h.
Referenced by ValueGetterSelect< DecoderType, ValueType, is_supported_leaf_type >::getValue(), and ValueGetterSelect< DecoderType, ValueType, true >::getValue().