OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
ValueConversionTraits< Enumeration, ValueKinds::Enumeration > Struct Template Reference

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

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::ConflatedUDP::FIX::ValueConversionTraits< Enumeration, ValueKinds::Enumeration >

The field value traits used in conversion related operations.

Specialization for enumerations.

Definition at line 1408 of file ValueConverters.h.

Member Typedef Documentation

typedef Enumeration::Enum Result

Type of the conversion output.

Definition at line 1419 of file ValueConverters.h.

Member Function Documentation

static 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 1427 of file ValueConverters.h.

static 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 1460 of file ValueConverters.h.


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