|
Dev Essential
|
#include <value_access.h>
Static Public Member Functions | |
| static void | getValue (const DecoderType &decoder, const CodecIndex &codec_index, ValueType &value) |
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). |
|
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. |