OnixS C++ EuroTLX GTP Market Data Handler  1.4.0
API documentation
BinaryMessage Class Reference

#include <OnixS/EuroTLX/MarketData/GTP/BinaryMessage.h>

Public Types

typedef MessageSize BinarySize
 

Public Member Functions

 BinaryMessage () ONIXS_EUROTLX_GTP_NOTHROW
 
 BinaryMessage (const void *data, MessageSize size) ONIXS_EUROTLX_GTP_NOTHROW
 
 BinaryMessage (const BinaryMessage &other) ONIXS_EUROTLX_GTP_NOTHROW
 
ONIXS_EUROTLX_GTP_EXPLICIT operator bool () const ONIXS_EUROTLX_GTP_NOTHROW
 
const void * binary () const ONIXS_EUROTLX_GTP_NOTHROW
 
MessageSize binarySize () const ONIXS_EUROTLX_GTP_NOTHROW
 
BinaryMessageoperator= (const BinaryMessage &other) ONIXS_EUROTLX_GTP_NOTHROW
 

Additional Inherited Members

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

Detailed Description

Definition at line 109 of file BinaryMessage.h.

Member Typedef Documentation

Length of message binary data.

Definition at line 116 of file BinaryMessage.h.

Constructor & Destructor Documentation

BinaryMessage ( )
inline

Initializes blank instance referencing to nothing.

Definition at line 119 of file BinaryMessage.h.

BinaryMessage ( const void *  data,
MessageSize  size 
)
inline

Initializes instance over given memory block.

Definition at line 127 of file BinaryMessage.h.

BinaryMessage ( const BinaryMessage other)
inline

Initializes instance as copy of the other one.

Definition at line 137 of file BinaryMessage.h.

Member Function Documentation

const void* binary ( ) const
inline

Message content.

Definition at line 154 of file BinaryMessage.h.

MessageSize binarySize ( ) const
inline

Size of message.

Definition at line 161 of file BinaryMessage.h.

ONIXS_EUROTLX_GTP_EXPLICIT operator bool ( ) const
inline

Indicates whether instance refers to a valid message.

Definition at line 147 of file BinaryMessage.h.

BinaryMessage& operator= ( const BinaryMessage other)
inline

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

Definition at line 169 of file BinaryMessage.h.


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