OnixS C++ CBOE CFE Binary Order Entry (BOE) Handler 1.12.0
API documentation
Loading...
Searching...
No Matches
BinaryMessage Class Reference

Public Types

typedef MessageSize BinarySize

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Definition at line 135 of file BinaryMessage.h.

Member Typedef Documentation

◆ BinarySize

Length of message binary data.

Definition at line 142 of file BinaryMessage.h.

Constructor & Destructor Documentation

◆ BinaryMessage() [1/3]

BinaryMessage ( )
inline

Initializes blank instance referencing to nothing.

Definition at line 145 of file BinaryMessage.h.

◆ BinaryMessage() [2/3]

BinaryMessage ( const void * data,
MessageSize size )
inline

Initializes instance over given memory block.

Definition at line 152 of file BinaryMessage.h.

◆ BinaryMessage() [3/3]

BinaryMessage ( const BinaryMessage & other)
inline

Initializes instance as copy of the other one.

Definition at line 162 of file BinaryMessage.h.

Member Function Documentation

◆ binary()

const void * binary ( ) const
inline

Message content.

Definition at line 176 of file BinaryMessage.h.

◆ binarySize()

MessageSize binarySize ( ) const
inline

Size of message.

Definition at line 182 of file BinaryMessage.h.

◆ operator bool()

operator bool ( ) const
inline

Indicates whether instance refers to a valid message.

Definition at line 170 of file BinaryMessage.h.

◆ operator=()

BinaryMessage & operator= ( const BinaryMessage & other)
inline

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

Definition at line 189 of file BinaryMessage.h.