ADTF
|
Value getter to retrieve the current value of the given element as a ValueType
if supported.
More...
Static Public Member Functions | |
static ValueType | getValue (const DecoderType &decoder, const CodecIndex &codec_index) |
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 160 of file value_access.h.
|
inlinestatic |
Returns the current value of the given element as a ValueType
if supported.
[in] | codec_index | The codec index of the element. |
[in] | decoder | The decoder to retrieve the value from. |
throws | std::runtime_error if not found by decoder. |
Definition at line 168 of file value_access.h.
References ValueGetter< DecoderType, ValueType >::getValue().
Referenced by StaticDecoder::getElementValue().