OnixS C++ CME MDP Premium Market Data Handler  5.8.9
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 >

Definition at line 1071 of file ValueConverters.h.

Member Typedef Documentation

Conversion output type.

Definition at line 1077 of file ValueConverters.h.

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

Conversion traits.

Definition at line 1074 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 1081 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 1089 of file ValueConverters.h.


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