![]() |
helics
2.8.1
|
#include <ValueConverter.hpp>
Public Types | |
using | baseType = X |
Static Public Member Functions | |
static data_block | convert (const X &val) |
static void | convert (const X &val, data_block &store) |
static void | convert (const X *vals, size_t size, data_block &store) |
static data_block | convert (const X *vals, size_t size) |
static X | interpret (const data_view &block) |
static void | interpret (const data_view &block, X &val) |
static std::string | type () |
converter for a basic value
|
static |
convert the value to a block of data
converter for a basic value
|
static |
convert the value and store to a specific block of data
References helics::detail::ostringbuf::extractString().
|
static |
convert a raw vector of objects and store to a specific block
|
static |
convert a raw vector of objects and store to a specific block
References helics::detail::ostringbuf::extractString().
|
static |
interpret a view of the data and convert back to a val
Referenced by helics::doubleExtractAndConvert(), and helics::ValueConverter3< X >::interpret().
|
static |
interpret a view of the data block and store to the specified value
References helics::data_view::data(), and helics::data_view::size().
|
inlinestatic |
get the type of the value