OmniSciDB
a5dc49c757
|
Public Types | |
using | ConverterType = NumericValueConverter< SOURCE_TYPE, TARGET_TYPE > |
Public Member Functions | |
std::unique_ptr< ConverterType > | create (ConverterCreateParameter param) |
std::unique_ptr < TargetValueConverter > | operator() (ConverterCreateParameter param) |
template<> | |
std::unique_ptr < NumericValueConverter < double, double > > | create (ConverterCreateParameter param) |
template<> | |
std::unique_ptr < NumericValueConverter< float, float > > | create (ConverterCreateParameter param) |
Definition at line 21 of file TargetValueConvertersFactories.cpp.
using NumericConverterFactory< SOURCE_TYPE, TARGET_TYPE >::ConverterType = NumericValueConverter<SOURCE_TYPE, TARGET_TYPE> |
Definition at line 22 of file TargetValueConvertersFactories.cpp.
|
inline |
Definition at line 24 of file TargetValueConvertersFactories.cpp.
References ConverterCreateParameter::can_be_null, CHECK, checked_cast(), TargetMetaInfo::get_physical_type_info(), SQLTypeInfo::get_size(), SQLTypeInfo::is_integer(), ConverterCreateParameter::num_rows, ConverterCreateParameter::source, ConverterCreateParameter::target, and ConverterCreateParameter::type.
Referenced by NumericConverterFactory< SOURCE_TYPE, TARGET_TYPE >::operator()().
std::unique_ptr< NumericValueConverter< double, double > > NumericConverterFactory< double, double >::create | ( | ConverterCreateParameter | param | ) |
Definition at line 85 of file TargetValueConvertersFactories.cpp.
References ConverterCreateParameter::can_be_null, inline_fp_null_value< double >(), ConverterCreateParameter::num_rows, and ConverterCreateParameter::target.
std::unique_ptr< NumericValueConverter< float, float > > NumericConverterFactory< float, float >::create | ( | ConverterCreateParameter | param | ) |
Definition at line 93 of file TargetValueConvertersFactories.cpp.
References ConverterCreateParameter::can_be_null, inline_fp_null_value< float >(), ConverterCreateParameter::num_rows, and ConverterCreateParameter::target.
|
inline |
Definition at line 78 of file TargetValueConvertersFactories.cpp.
References NumericConverterFactory< SOURCE_TYPE, TARGET_TYPE >::create().