OnixS C++ eSpeed ITCH Market Data Handler 1.7.3
API documentation
Loading...
Searching...
No Matches
BinaryFields< Block, FieldAccessor > Class Template Reference

Protected Member Functions

template<class FieldValue>
FieldValue ordinary (BlockSize offset) const ONIXS_ESPEED_ITCH_NOTHROW
template<class FieldValue>
const FieldValue & ordinaryRef (BlockSize offset) const ONIXS_ESPEED_ITCH_NOTHROW
template<class Enumeration>
Enumeration::Enum enumeration (BlockSize offset) const ONIXS_ESPEED_ITCH_NOTHROW
template<BlockSize Size>
StrRef fixedStr (BlockSize offset) const ONIXS_ESPEED_ITCH_NOTHROW

Detailed Description

template<template< class > class Block, class FieldAccessor>
class BinaryFields< Block, FieldAccessor >

Exposes base services to access fields stored in little Endian block of memory. Class represents an abstraction, instance construction available through descendants implementing actual access to encoded data.

Definition at line 37 of file BinaryMessage.h.

Member Function Documentation

◆ enumeration()

template<template< class > class Block, class FieldAccessor>
template<class Enumeration>
Enumeration::Enum enumeration ( BlockSize offset) const
inlineprotected

Returns value of a field by its offset.

Given function serves as specialization of general case for fields of enumeration type.

Definition at line 75 of file BinaryMessage.h.

◆ fixedStr()

template<template< class > class Block, class FieldAccessor>
template<BlockSize Size>
StrRef fixedStr ( BlockSize offset) const
inlineprotected

Provides access to string field by its offset.

Given function serves as specialization of general case for fields of string type.

Definition at line 90 of file BinaryMessage.h.

◆ ordinary()

template<template< class > class Block, class FieldAccessor>
template<class FieldValue>
FieldValue ordinary ( BlockSize offset) const
inlineprotected

Returns value of a field by its offset.

Definition at line 52 of file BinaryMessage.h.

◆ ordinaryRef()

template<template< class > class Block, class FieldAccessor>
template<class FieldValue>
const FieldValue & ordinaryRef ( BlockSize offset) const
inlineprotected

Returns value of a field by its offset.

Definition at line 62 of file BinaryMessage.h.