ADTF  3.18.2
ValueSetter< CodecType, std::string >

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

Static Public Member Functions

static void setValue (CodecType &codec, const CodecIndex &codec_index, const std::string &value)
 Sets the value of the given element from std::string. More...
 

Detailed Description

template<typename CodecType>
struct ddl::codec::ValueSetter< CodecType, std::string >

Value setter specialization for std::string.

Template Parameters
CodecTypeThe codec type.

Definition at line 135 of file value_access.h.

Member Function Documentation

◆ setValue()

static void setValue ( CodecType &  codec,
const CodecIndex codec_index,
const std::string &  value 
)
inlinestatic

Sets the value of the given element from std::string.

Parameters
[in]codecThe codec.
[in]codec_indexThe index of the element.
[in]valueThe value to set as std::string.
Exceptions
throwsstd::runtime_error if not found by codec

Definition at line 143 of file value_access.h.