OnixS C++ CME iLink 3 Binary Order Entry Handler 1.19.0
API Documentation
Loading...
Searching...
No Matches
ValueConversionTraits< Enumeration, ValueKinds::Enumeration > Struct Template Reference

Public Types

typedef Enumeration::Enum Result

Static Public Member Functions

static Result convert (const ValueConverter &converter, const ValueContainer &container)
static bool convert (Result &result, const ValueConverter &converter, const ValueContainer &container)

Detailed Description

template<class Enumeration>
struct OnixS::CME::iLink3::Messaging::TagBased::ValueConversionTraits< Enumeration, ValueKinds::Enumeration >

Specialization for enumerations.

Definition at line 1336 of file ValueConverters.h.

Member Typedef Documentation

◆ Result

template<class Enumeration>
typedef Enumeration::Enum Result

Type of the conversion output.

Definition at line 1347 of file ValueConverters.h.

Member Function Documentation

◆ convert() [1/2]

template<class Enumeration>
Result convert ( const ValueConverter & converter,
const ValueContainer & container )
inlinestatic

Converters the given value by using the specified value converter and returns the result of conversion.

Throws an exception in case of conversion failure.

Definition at line 1355 of file ValueConverters.h.

◆ convert() [2/2]

template<class Enumeration>
bool convert ( Result & result,
const ValueConverter & converter,
const ValueContainer & container )
inlinestatic

Tries to convert the given value using the given value converter and puts the result of the conversion into the given variable.

Returns conversion status.

Definition at line 1388 of file ValueConverters.h.