helics  2.8.1
Public Types | Public Member Functions | Static Public Member Functions | List of all members
helics::ValueConverter3< X > Class Template Reference

#include <ValueConverter.hpp>

Public Types

using baseType = X
 

Public Member Functions

void interpret (const data_view &block, std::vector< std::string > &val)
 

Static Public Member Functions

static X interpret (const data_view &block)
 
static void interpret (const data_view &block, X &val)
 
static std::string type ()
 

Detailed Description

template<class X>
class helics::ValueConverter3< X >

converter for a basic value

Member Function Documentation

◆ interpret() [1/3]

template<class X >
static X helics::ValueConverter3< X >::interpret ( const data_view block)
inlinestatic

interpret a view of the data and convert back to a val

References helics::data_view::data(), and helics::ValueConverter< X >::interpret().

Referenced by helics::doubleExtractAndConvert3().

◆ interpret() [2/3]

void helics::ValueConverter3< std::vector< std::string > >::interpret ( const data_view block,
std::vector< std::string > &  val 
)

interpret a view of the data block and store to the specified value

References loadJsonStr().

◆ interpret() [3/3]

template<class X >
static void helics::ValueConverter3< X >::interpret ( const data_view block,
X &  val 
)
inlinestatic

interpret a view of the data block and store to the specified value

References helics::data_view::data(), and helics::ValueConverter< X >::interpret().

◆ type()

template<class X >
static std::string helics::ValueConverter3< X >::type ( )
inlinestatic

get the type of the value


The documentation for this class was generated from the following file: