ADTF
ValueGetter< DecoderType, std::string >

Value getter specialization for std::string. More...

Static Public Member Functions

static void getValue (const DecoderType &decoder, const CodecIndex &codec_index, std::string &value)
 Returns the current value of the given element as a std::string. More...
 

Detailed Description

template<typename DecoderType>
struct ddl::codec::ValueGetter< DecoderType, std::string >

Value getter specialization for std::string.

Template Parameters
DecoderTypeThe decoder type.

Definition at line 85 of file value_access.h.

Member Function Documentation

◆ getValue()

static void getValue ( const DecoderType &  decoder,
const CodecIndex codec_index,
std::string &  value 
)
inlinestatic

Returns the current value of the given element as a std::string.

Parameters
[in]decoderThe decoder.
[in]codec_indexThe index of the element.
[out]valuestd::string Returns the current value as std::string.
Exceptions
throwsstd::runtime_error if not found by decoder.

Definition at line 93 of file value_access.h.