helics
3.5.2
|
#include <ValueConverter.hpp>
Public Types | |
using | baseType = X |
Static Public Member Functions | |
static SmallBuffer | convert (const X &val) |
static void | convert (const X &val, SmallBuffer &store) |
static void | convert (const X *vals, size_t size, SmallBuffer &store) |
static SmallBuffer | 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
|
inlinestatic |
convert the value to a block of data
Referenced by helics::ValueConverter< std::vector< std::string > >::convert(), and helics::ValueConverter< X >::convert().
|
inlinestatic |
convert the value and store to a specific block of data
|
inlinestatic |
convert a raw vector of objects and store to a specific block
References helics::ValueConverter< X >::convert().
|
inlinestatic |
convert a raw vector of objects and store to a specific block
|
inlinestatic |
interpret a view of the data and convert back to a val
References helics::data_view::bytes().
Referenced by helics::doubleExtractAndConvert(), and helics::ValueConverter< std::vector< std::string > >::interpret().
|
inlinestatic |
interpret a view of the data block and store to the specified value
References helics::data_view::bytes().
|
inlinestatic |
get the type of the value