|
Dev Essential
|
#include <leaf_value_access.h>
Static Public Member Functions | |
| static ValueType | getValue (const void *data, const size_t data_size, const LeafLayout &leaf_layout) |
Value getter to retrieve the current value of the given element as a ValueType if supported from a data area.
| 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
| leaf_layout | The small leaf layout of the element to get. |
| data | The data area to retrieve the value from |
| data_size | The data area size in bytes |
| std::runtime_error | if there is no valid conversion or the given layout is invalid |