OnixS C++ CME iLink 3 Binary Order Entry Handler  1.18.0
API Documentation
ValueConversionTraits< Enumeration, ValueKinds::Enumeration > Struct Template Reference

#include <OnixS/CME/iLink3/messaging/TagBased/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::iLink3::Messaging::TagBased::ValueConversionTraits< Enumeration, ValueKinds::Enumeration >

Specialization for enumerations.

Definition at line 1336 of file ValueConverters.h.

Member Typedef Documentation

typedef Enumeration::Enum Result

Type of the conversion output.

Definition at line 1347 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 1355 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 1388 of file ValueConverters.h.


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