OnixS C++ CME MDP Premium Market Data Handler 5.10.2
Users' manual and API documentation
Loading...
Searching...
No Matches
ValueConversionTraits< Value, int > Struct Template Reference

#include <OnixS/CME/MDH/messaging/TagBased/ValueConverters.h>

Public Types

typedef Value 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 Value, int>
struct OnixS::CME::MDH::Messaging::FIX::ValueConversionTraits< Value, int >

Definition at line 824 of file ValueConverters.h.

Member Typedef Documentation

◆ Result

template<class Value, int>
typedef Value Result

Type of the conversion output.

Definition at line 827 of file ValueConverters.h.

Member Function Documentation

◆ convert() [1/2]

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

Converters the given value by using the specified value converter.

Returns
The result of the conversion.
Exceptions
Anexception in case of a conversion failure.

Definition at line 835 of file ValueConverters.h.

◆ convert() [2/2]

template<class Value, int>
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
the conversion status.

Definition at line 853 of file ValueConverters.h.