|
Dev Essential
|
#include <leaf_value_access.h>
Static Public Member Functions | |
| static void | setValue (void *data, const size_t data_size, const LeafLayout &leaf_layout, const ValueType &value) |
Value setter to set the current value of the given element from a type ValueType if supported
| CodecType | The type of the codec. |
| ValueType | The value type supported (by default bool, all int types, float and double are supported). |
|
inlinestatic |
Sets the current value if the given element as a ValueType if supported.
| leaf_layout | The small leaf layout of the element to get. | |
| data | The data area to set the value to | |
| data_size | The data area size in bytes | |
| [in] | value | The value to set as ValueType, if supported. |
| std::runtime_error | if there is no valid conversion or the given layout is invalid |