OnixS C++ CME Market Data Handler  5.4.0
API documentation
ValueConversion< Value > Struct Template Reference

#include <OnixS/CME/MDH/FIX/ValueConverters.h>

Public Types

typedef ValueConversionTraits< Value, ValueKind< Value >::Kind > Traits
 
typedef Traits::Result Result
 

Public Member Functions

Traits::Result operator() (const ValueConverter &converter, const ValueContainer &container) const
 
bool operator() (typename Traits::Result &result, const ValueConverter &converter, const ValueContainer &container) const
 

Detailed Description

template<class Value>
struct OnixS::CME::MDH::FIX::ValueConversion< Value >

Implements value conversion operations through value conversion traits.

Definition at line 1577 of file ValueConverters.h.

Member Typedef Documentation

Conversion output type.

Definition at line 1593 of file ValueConverters.h.

typedef ValueConversionTraits< Value, ValueKind<Value>::Kind > Traits

Conversion traits.

Definition at line 1587 of file ValueConverters.h.

Member Function Documentation

Traits::Result operator() ( const ValueConverter converter,
const ValueContainer container 
) const
inline

Converts the given value into a value of target type. Throws an exception in case of failure.

Definition at line 1599 of file ValueConverters.h.

bool operator() ( typename Traits::Result result,
const ValueConverter converter,
const ValueContainer container 
) const
inline

Converts the given value into a value of target type. Returns conversion status.

Definition at line 1613 of file ValueConverters.h.


The documentation for this struct was generated from the following file: