OnixS C++ CME MDP Premium Market Data Handler 5.9.0
Users' manual and API documentation
Loading...
Searching...
No Matches
TimestampConverter Struct Reference

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

Public Member Functions

const ChartypeName () const override
void toStr (std::string &str, const ValueContainer &container) const override
bool convert (Int64 &value, const ValueContainer &container) const override
bool convert (UInt64 &value, const ValueContainer &container) const override
bool convert (Timestamp &value, const ValueContainer &container) const override
bool convert (StrRef &, const ValueContainer &) const override
bool convert (Char &, const ValueContainer &) const override
bool convert (Int8 &, const ValueContainer &) const override
bool convert (UInt8 &, const ValueContainer &) const override
bool convert (Int16 &, const ValueContainer &) const override
bool convert (UInt16 &, const ValueContainer &) const override
bool convert (Int32 &, const ValueContainer &) const override
bool convert (UInt32 &, const ValueContainer &) const override
bool convert (Decimal &, const ValueContainer &) const override
bool convert (MaturityMonthYear &, const ValueContainer &) const override

Static Public Member Functions

static const ValueConverterself ()

Detailed Description

Implements the value conversion abstraction for the timestamp fields.

Definition at line 704 of file ValueConverters.h.

Member Function Documentation

◆ convert() [1/13]

bool convert ( Char & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into a character. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 742 of file ValueConverters.h.

◆ convert() [2/13]

bool convert ( Decimal & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into a decimal. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 777 of file ValueConverters.h.

◆ convert() [3/13]

bool convert ( Int16 & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 757 of file ValueConverters.h.

◆ convert() [4/13]

bool convert ( Int32 & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 767 of file ValueConverters.h.

◆ convert() [5/13]

bool convert ( Int64 & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 716 of file ValueConverters.h.

◆ convert() [6/13]

bool convert ( Int8 & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 747 of file ValueConverters.h.

◆ convert() [7/13]

bool convert ( MaturityMonthYear & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into a month-year. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 782 of file ValueConverters.h.

◆ convert() [8/13]

bool convert ( StrRef & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into the string reference. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 737 of file ValueConverters.h.

◆ convert() [9/13]

bool convert ( Timestamp & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into a timestamp. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 730 of file ValueConverters.h.

◆ convert() [10/13]

bool convert ( UInt16 & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 762 of file ValueConverters.h.

◆ convert() [11/13]

bool convert ( UInt32 & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 772 of file ValueConverters.h.

◆ convert() [12/13]

bool convert ( UInt64 & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 723 of file ValueConverters.h.

◆ convert() [13/13]

bool convert ( UInt8 & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer. The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 752 of file ValueConverters.h.

◆ self()

const ValueConverter & self ( )
static

◆ toStr()

void toStr ( std::string & ,
const ValueContainer &  ) const
inlineoverridevirtual

Outputs the text presentation of the FIX value stored in the given container into the given string.

Reimplemented from ValueConverter.

Definition at line 711 of file ValueConverters.h.

◆ typeName()

const Char * typeName ( ) const
inlineoverridevirtual

The name of the type whose values are manipulated through the given converter.

Implements ValueConverter.

Definition at line 706 of file ValueConverters.h.