Version: 9.15.0
YACS::ENGINE::convertToYacsDouble< IMPLIN, TIN, TIN2, IMPLOUT, TOUT > Struct Template Reference

Basic template convertor from type TIN to Yacs<TOUT> type. More...

Static Public Member Functions

static double convert (const TypeCode *t, TIN o, TIN2 aux)
 

Detailed Description

template<ImplType IMPLIN, class TIN, class TIN2, ImplType IMPLOUT, class TOUT>
struct YACS::ENGINE::convertToYacsDouble< IMPLIN, TIN, TIN2, IMPLOUT, TOUT >

Basic template convertor from type TIN to Yacs<TOUT> type.

This convertor does nothing : throws exception It must be partially specialize for a specific type (TIN)

Definition at line 390 of file TypeConversions.cxx.

Member Function Documentation

◆ convert()

template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
static double YACS::ENGINE::convertToYacsDouble< IMPLIN, TIN, TIN2, IMPLOUT, TOUT >::convert ( const TypeCode t,
TIN  o,
TIN2  aux 
)
inlinestatic

Definition at line 392 of file TypeConversions.cxx.

393  {
394  stringstream msg;
395  msg << "Conversion not implemented: kind= " << t->kind() << " Implementation: " << IMPLIN << " to: " << IMPLOUT;
396  msg << " : " << __FILE__ << ":" << __LINE__;
397  throw YACS::ENGINE::ConversionException(msg.str());
398  }

References gui.Appli::t.


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