BloombergLP::balcl::OptionType::EnumToType

Metafunction that maps an Enum value to its corresponding C++ type.

Synopsis

Declared in <balcl_optiontype.h>

template<Enum TYPE_ENUMERATOR>
struct EnumToType;

Description

EnumToType<TYPE_ENUMERATOR>::type is the (C++) type corresponding to the (template parameter) TYPE_ENUMERATOR Enum value. See TypeToEnum for the inverse metafunction.

Specializations

NameDescription
EnumToType<OptionType::e_BOOL> Specialization of EnumToType for e_BOOL.
EnumToType<OptionType::e_CHAR> Specialization of EnumToType for e_CHAR.
EnumToType<OptionType::e_CHAR_ARRAY> Specialization of EnumToType for e_CHAR_ARRAY.
EnumToType<OptionType::e_DATE> Specialization of EnumToType for e_DATE.
EnumToType<OptionType::e_DATETIME> Specialization of EnumToType for e_DATETIME.
EnumToType<OptionType::e_DATETIME_ARRAY> Specialization of EnumToType for e_DATETIME_ARRAY.
EnumToType<OptionType::e_DATE_ARRAY> Specialization of EnumToType for e_DATE_ARRAY.
EnumToType<OptionType::e_DOUBLE> Specialization of EnumToType for e_DOUBLE.
EnumToType<OptionType::e_DOUBLE_ARRAY> Specialization of EnumToType for e_DOUBLE_ARRAY.
EnumToType<OptionType::e_INT> Specialization of EnumToType for e_INT.
EnumToType<OptionType::e_INT64> Specialization of EnumToType for e_INT64.
EnumToType<OptionType::e_INT64_ARRAY> Specialization of EnumToType for e_INT64_ARRAY.
EnumToType<OptionType::e_INT_ARRAY> Specialization of EnumToType for e_INT_ARRAY.
EnumToType<OptionType::e_STRING> Specialization of EnumToType for e_STRING.
EnumToType<OptionType::e_STRING_ARRAY> Specialization of EnumToType for e_STRING_ARRAY.
EnumToType<OptionType::e_TIME> Specialization of EnumToType for e_TIME.
EnumToType<OptionType::e_TIME_ARRAY> Specialization of EnumToType for e_TIME_ARRAY.
EnumToType<OptionType::e_VOID> Specialization of EnumToType for e_VOID.