OnixS C++ CME iLink 3 Binary Order Entry Handler 1.19.3
API Documentation
Loading...
Searching...
No Matches
ValueConversionTraits< BitSet, ValueKinds::Bits > Struct Template Reference

Public Types

typedef BitSet Result

Static Public Member Functions

static BitSet convert (const ValueConverter &converter, const ValueContainer &container)
static bool convert (BitSet &result, const ValueConverter &converter, const ValueContainer &container)

Detailed Description

template<class BitSet>
struct OnixS::CME::iLink3::Messaging::TagBased::ValueConversionTraits< BitSet, ValueKinds::Bits >

Specialization for bit sets.

Definition at line 1426 of file ValueConverters.h.

Member Typedef Documentation

◆ Result

template<class BitSet>
typedef BitSet Result

Type of the conversion output.

Definition at line 1434 of file ValueConverters.h.

Member Function Documentation

◆ convert() [1/2]

template<class BitSet>
bool convert ( BitSet & 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 1472 of file ValueConverters.h.

◆ convert() [2/2]

template<class BitSet>
BitSet 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 1442 of file ValueConverters.h.