OnixS C++ SGX Titan OUCH Trading Handler  1.2.0
API documentation
BinaryFields< Block, FieldAccessor > Class Template Reference

#include <OnixS/SgxTitan/Trading/OUCH/BinaryMessage.h>

Protected Member Functions

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

Detailed Description

template<template< class > class Block, class FieldAccessor>
class OnixS::SgxTitan::Trading::Ouch::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 38 of file BinaryMessage.h.

Member Function Documentation

Enumeration::Enum enumeration ( BlockSize  offset) const
throw (
)
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 76 of file BinaryMessage.h.

StrRef fixedStr ( BlockSize  offset) const
throw (
)
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 91 of file BinaryMessage.h.

FieldValue ordinary ( BlockSize  offset) const
throw (
)
inlineprotected

Returns value of a field by its offset.

Definition at line 53 of file BinaryMessage.h.

const FieldValue& ordinaryRef ( BlockSize  offset) const
throw (
)
inlineprotected

Returns value of a field by its offset.

Definition at line 63 of file BinaryMessage.h.


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