OnixS C++ Cboe CFE Multicast PITCH Market Data Handler  1.12.1
API documentation
Leg Struct Reference

#include <OnixS/CboeCFE/MarketData/Pitch/Messages/Leg.h>

Public Member Functions

SignedBinary4 ratio () const ONIXS_BATS_PITCH_NOTHROW
 
StrRef symbol () const ONIXS_BATS_PITCH_NOTHROW
 
 Leg (const void *data, MessageSize size) ONIXS_BATS_PITCH_NOTHROW
 
- Public Member Functions inherited from BinaryMessage
 BinaryMessage () ONIXS_BATS_PITCH_NOTHROW
 
 BinaryMessage (const void *data, MessageSize size) ONIXS_BATS_PITCH_NOTHROW
 
 BinaryMessage (const BinaryMessage &other) ONIXS_BATS_PITCH_NOTHROW
 
ONIXS_BATS_PITCH_EXPLICIT operator bool () const ONIXS_BATS_PITCH_NOTHROW
 
const void * binary () const ONIXS_BATS_PITCH_NOTHROW
 
MessageSize binarySize () const ONIXS_BATS_PITCH_NOTHROW
 
BinaryMessageoperator= (const BinaryMessage &other) ONIXS_BATS_PITCH_NOTHROW
 

Static Public Member Functions

static void validateSize (MessageSize size)
 

Static Public Attributes

static ONIXS_BATS_PITCH_CONST_OR_CONSTEXPR MessageSize messageSize_ = 12
 

Additional Inherited Members

- Public Types inherited from BinaryMessage
typedef MessageSize BinarySize
 
- Protected Member Functions inherited from BinaryFields< BinaryMessage, MessageSize >
const SubMessage submessage (MessageSizeoffset, MessageSizesize) const ONIXS_BATS_PITCH_NOTHROW
 
FieldValue ordinary (MessageSizeoffset) const ONIXS_BATS_PITCH_NOTHROW
 
const FieldValue & ordinaryRef (MessageSizeoffset) const ONIXS_BATS_PITCH_NOTHROW
 
Enumeration::Enum enumeration (MessageSizeoffset) const ONIXS_BATS_PITCH_NOTHROW
 
StrRef fixedStr (MessageSizeoffset) const ONIXS_BATS_PITCH_NOTHROW
 

Detailed Description

Definition at line 36 of file Leg.h.

Constructor & Destructor Documentation

Leg ( const void *  data,
MessageSize  size 
)
inline

Initializes instance over given memory block.

Definition at line 63 of file Leg.h.

Member Function Documentation

SignedBinary4 ratio ( ) const
inline

Leg ratio (positive for bid-side, negative for ask-side)

Definition at line 39 of file Leg.h.

StrRef symbol ( ) const
inline

Symbol of leg.

Definition at line 46 of file Leg.h.

static void validateSize ( MessageSize  size)
inlinestatic

Check the given size.

Definition at line 56 of file Leg.h.

Member Data Documentation

Total message size.

Definition at line 53 of file Leg.h.


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