OnixS C++ HKEX OMD-C Handler 1.0.0
API documentation
Loading...
Searching...
No Matches
UnderlyingSecurity Struct Reference

Public Member Functions

UInt32 code () const noexcept
 UnderlyingSecurity (const void *data, MessageSize size) noexcept
Public Member Functions inherited from BinaryMessage
 BinaryMessage () noexcept
 BinaryMessage (const void *data, MessageSize size) noexcept
 BinaryMessage (const BinaryMessage &other) noexcept
 operator bool () const noexcept
const void * binary () const noexcept
MessageSize binarySize () const noexcept
BinaryMessageoperator= (const BinaryMessage &other) noexcept

Static Public Member Functions

static void validateSize (MessageSize size)

Static Public Attributes

static constexpr MessageSize messageSize_ = 8

Additional Inherited Members

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

Detailed Description

Definition at line 35 of file SecurityDefinition.UnderlyingSecurity.h.

Constructor & Destructor Documentation

◆ UnderlyingSecurity()

UnderlyingSecurity ( const void * data,
MessageSize size )
inlinenoexcept

Initializes instance over given memory block.

Definition at line 55 of file SecurityDefinition.UnderlyingSecurity.h.

Member Function Documentation

◆ code()

UInt32 code ( ) const
inlinenoexcept

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

Definition at line 38 of file SecurityDefinition.UnderlyingSecurity.h.

◆ validateSize()

void validateSize ( MessageSize size)
inlinestatic

Check the given size.

Definition at line 48 of file SecurityDefinition.UnderlyingSecurity.h.

Member Data Documentation

◆ messageSize_

MessageSize messageSize_ = 8
staticconstexpr

Total message size.

Definition at line 45 of file SecurityDefinition.UnderlyingSecurity.h.