OnixS C++ eSpeed ITCH Market Data Handler 1.7.3
API documentation
Loading...
Searching...
No Matches
BinaryMessage< Accessor > Class Template Reference

Public Types

typedef MessageSize BinarySize

Public Member Functions

 BinaryMessage (const void *data, MessageSize size) ONIXS_ESPEED_ITCH_NOTHROW
ONIXS_ESPEED_ITCH_CONSTEXPR BinaryMessage (const BinaryMessage &other) ONIXS_ESPEED_ITCH_NOTHROW
const void * binary () const ONIXS_ESPEED_ITCH_NOTHROW
MessageSize binarySize () const ONIXS_ESPEED_ITCH_NOTHROW
BinaryMessageoperator= (const BinaryMessage &other) ONIXS_ESPEED_ITCH_NOTHROW

Additional Inherited Members

Protected Member Functions inherited from BinaryFields< BinaryMessage, Accessor >
FieldValue ordinary (BlockSize offset) const ONIXS_ESPEED_ITCH_NOTHROW
const FieldValue & ordinaryRef (BlockSize offset) const ONIXS_ESPEED_ITCH_NOTHROW
Enumeration::Enum enumeration (BlockSize offset) const ONIXS_ESPEED_ITCH_NOTHROW
StrRef fixedStr (BlockSize offset) const ONIXS_ESPEED_ITCH_NOTHROW

Detailed Description

template<class Accessor>
class BinaryMessage< Accessor >

Definition at line 104 of file BinaryMessage.h.

Member Typedef Documentation

◆ BinarySize

template<class Accessor>
typedef MessageSize BinarySize

Length of message binary data.

Definition at line 112 of file BinaryMessage.h.

Constructor & Destructor Documentation

◆ BinaryMessage() [1/2]

template<class Accessor>
BinaryMessage ( const void * data,
MessageSize size )
inline

Initializes instance over given memory block.

Definition at line 115 of file BinaryMessage.h.

◆ BinaryMessage() [2/2]

template<class Accessor>
ONIXS_ESPEED_ITCH_CONSTEXPR BinaryMessage ( const BinaryMessage< Accessor > & other)
inline

Initializes instance as copy of the other one.

Definition at line 126 of file BinaryMessage.h.

Member Function Documentation

◆ binary()

template<class Accessor>
const void * binary ( ) const
inline

Message content.

Definition at line 135 of file BinaryMessage.h.

◆ binarySize()

template<class Accessor>
MessageSize binarySize ( ) const
inline

Size of message.

Definition at line 142 of file BinaryMessage.h.

◆ operator=()

template<class Accessor>
BinaryMessage & operator= ( const BinaryMessage< Accessor > & other)
inline

Re-initializes instance as a copy of the other one.

Definition at line 150 of file BinaryMessage.h.