OnixS C++ LSE GTP Market Data Handler 1.0.6
API documentation
Loading...
Searching...
No Matches
BinaryMessage Class Reference

Public Types

typedef MessageSize BinarySize

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Definition at line 109 of file BinaryMessage.h.

Member Typedef Documentation

◆ BinarySize

Length of message binary data.

Definition at line 116 of file BinaryMessage.h.

Constructor & Destructor Documentation

◆ BinaryMessage() [1/3]

BinaryMessage ( )
inline

Initializes blank instance referencing to nothing.

Definition at line 119 of file BinaryMessage.h.

◆ BinaryMessage() [2/3]

BinaryMessage ( const void * data,
MessageSize size )
inline

Initializes instance over given memory block.

Definition at line 127 of file BinaryMessage.h.

◆ BinaryMessage() [3/3]

BinaryMessage ( const BinaryMessage & other)
inline

Initializes instance as copy of the other one.

Definition at line 137 of file BinaryMessage.h.

Member Function Documentation

◆ binary()

const void * binary ( ) const
inline

Message content.

Definition at line 154 of file BinaryMessage.h.

◆ binarySize()

MessageSize binarySize ( ) const
inline

Size of message.

Definition at line 161 of file BinaryMessage.h.

◆ operator bool()

ONIXS_LSE_GTP_EXPLICIT operator bool ( ) const
inline

Indicates whether instance refers to a valid message.

Definition at line 147 of file BinaryMessage.h.

◆ operator=()

BinaryMessage & operator= ( const BinaryMessage & other)
inline

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

Definition at line 169 of file BinaryMessage.h.