OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
ValueConversionTraits< Value, int > Struct Template Reference

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::ConflatedUDP::FIX::ValueConversionTraits< Value, int >

The field value traits used in conversion related operations.

Definition at line 1343 of file ValueConverters.h.

Member Typedef Documentation

◆ Result

template<class Value, int>
typedef Value Result

Type of the conversion output.

Definition at line 1347 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 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 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 conversion status.

Definition at line 1383 of file ValueConverters.h.