libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
messages.hpp File Reference
#include "config.h"
#include "reject_codes.hpp"
#include "../common/messages.hpp"
#include "../common/ref_data.hpp"
#include "core/max_min.hpp"
#include <boost/mpl/assert.hpp>
#include <boost/mpl/deref.hpp>
#include <boost/mpl/max_element.hpp>
#include <boost/mpl/min_element.hpp>
#include <boost/mpl/placeholders.hpp>
#include <boost/mpl/sizeof.hpp>
#include <boost/mpl/transform_view.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/variant/variant.hpp>
#include <iostream>
#include "messages_impl.hpp"
Include dependency graph for messages.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::NewOrderSpecific1
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::NewOrderSpecific2
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::NewOrderSpecific3
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::NewQuoteSpecific1
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::NewQuoteSpecific2
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::OrderCancelReplaceRequestSpecific
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::ExecutionReportSpecific1
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::ExecutionReportSpecific2
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::OrderMassCancelRequestSpecific1
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::LogonReply
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::NewOrder
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::OrderCancelReplaceRequest
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::OrderCancelRequest
 
struct  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::MsgTypes
 

Namespaces

namespace  isimud
 
namespace  isimud::ISIMUD_VER_NAMESPACE
 
namespace  isimud::ISIMUD_VER_NAMESPACE::exchanges
 
namespace  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT
 
namespace  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE
 
namespace  isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests
 

Typedefs

using order_qty_t = std::int32_t
 
using RejectCode_t = mit_lse::reject_codes_enum
 
using RejectCodes_t = std::underlying_type< RejectCode_t >::type
 

Functions

struct isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::NewOrderSpecific1 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::__attribute__ ((packed))
 
constexpr NewOrderSpecific1 (common::SecurityID_t instID) noexcept(true) FORCE_INLINE
 
common::SecurityID_t instrumentID () const noexcept(true)
 
void instrumentID (common::SecurityID_t i) noexcept(true)
 
common::MESQualifier mesQualifier () const noexcept(true)
 
void mesQualifier (common::MESQualifier m) noexcept(true)
 
constexpr NewOrderSpecific2 (order_qty_t ordQty) noexcept(true) FORCE_INLINE
 
order_qty_t orderQty () const noexcept(true)
 
void orderQty (order_qty_t i) noexcept(true)
 
common::PassiveOnlyOrder FORCE_INLINE passiveOnlyOrder () const noexcept(true)
 
void FORCE_INLINE passiveOnlyOrder (common::PassiveOnlyOrder poo) noexcept(true)
 
constexpr OrderMassCancelRequestSpecific1 (common::SecurityID_t instID) noexcept(true) FORCE_INLINE
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::Header_t),<=, MsgTypes::max_size_client_to_exchange_msg)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::Header_t),<=, MsgTypes::max_size_exchange_to_client_msg)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::Header_t),<=, MsgTypes::max_msg_size)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::LogonRequest),==, 80)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::LogonReply),==, 38)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::LogoutRequest),==, 24)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::ClientHeartbeat),==, 4)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::MissedMessageRequest),==, 9)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::MissedMessageRequestAck),==, 5)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::MissedMessageReport),==, 5)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::Reject),==, 59)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::SystemStatus),==, 6)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::NewOrder_t),==, 101)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::NewQuote),==, 76)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::OrderCancelReplaceRequest),==, 116)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::OrderCancelRequest),==, 73)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::OrderMassCancelRequest),==, 46)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::ExecutionReport),==, 155)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::OrderCancelReject),==, 73)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::OrderMassCancelReport),==, 56)
 
 isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::tests::BOOST_MPL_ASSERT_RELATION (sizeof(MsgTypes::BusinessReject),==, 63)
 

Variables

common::SecurityID_t instrumentID_
 
common::MESQualifier mesQualifier_ =common::MESQualifier::NonMES
 
const std::int8_t reservedField1 =0
 
order_qty_t orderQty_
 
order_qty_t displayQty
 
common::Anonymity anonymity =common::Anonymity::Anonymous
 
common::Price_t stoppedPrice =0
 
common::PassiveOnlyOrder passiveOnlyOrder_ =common::PassiveOnlyOrder::NoConstraint
 
common::ReservedField9_t reservedField
 
int32_t minimumQuantity =0
 
common::Price_t bidPrice
 
int32_t bidSize
 
common::Price_t askPrice
 
int32_t askSize
 
order_qty_t executedQty
 
order_qty_t leavesQty
 
common::Container container
 
common::TypeOfTrade typeOfTrade
 
common::Capacity capacity
 
common::PriceDifferential priceDifferential
 
common::PublicOrderID_t publicOrderID
 
common::Segment_t segment {}
 
isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::LogonReply isimud::ISIMUD_VER_NAMESPACE::exchanges::MIT::LSE::__attribute__
 

Typedef Documentation

◆ order_qty_t

using order_qty_t = std::int32_t

Definition at line 0 of file messages.hpp.

◆ RejectCode_t

using RejectCode_t = mit_lse::reject_codes_enum

Definition at line 0 of file messages.hpp.

◆ RejectCodes_t

using RejectCodes_t = std::underlying_type<RejectCode_t>::type

Definition at line 1 of file messages.hpp.

Function Documentation

◆ instrumentID() [1/2]

common::SecurityID_t __attribute__::instrumentID ( ) const
constexprnoexcept

Definition at line 7 of file messages.hpp.

◆ instrumentID() [2/2]

void __attribute__::instrumentID ( common::SecurityID_t  i)
noexcept

Definition at line 10 of file messages.hpp.

◆ mesQualifier() [1/2]

common::MESQualifier mesQualifier ( ) const
noexcept

Definition at line 13 of file messages.hpp.

◆ mesQualifier() [2/2]

void mesQualifier ( common::MESQualifier  m)
noexcept

Definition at line 16 of file messages.hpp.

◆ NewOrderSpecific1()

constexpr __attribute__::NewOrderSpecific1 ( common::SecurityID_t  instID)
explicitconstexprnoexcept

Definition at line 4 of file messages.hpp.

◆ NewOrderSpecific2()

constexpr __attribute__::NewOrderSpecific2 ( order_qty_t  ordQty)
explicitconstexprnoexcept

Definition at line 5 of file messages.hpp.

◆ OrderMassCancelRequestSpecific1()

constexpr __attribute__::OrderMassCancelRequestSpecific1 ( common::SecurityID_t  instID)
explicitconstexprnoexcept

Definition at line 5 of file messages.hpp.

◆ orderQty() [1/2]

order_qty_t __attribute__::orderQty ( ) const
constexprnoexcept

Definition at line 8 of file messages.hpp.

◆ orderQty() [2/2]

void __attribute__::orderQty ( order_qty_t  i)
noexcept

Definition at line 11 of file messages.hpp.

◆ passiveOnlyOrder() [1/2]

common::PassiveOnlyOrder FORCE_INLINE passiveOnlyOrder ( ) const
noexcept

Definition at line 6 of file messages.hpp.

◆ passiveOnlyOrder() [2/2]

void FORCE_INLINE passiveOnlyOrder ( common::PassiveOnlyOrder  poo)
noexcept

Definition at line 9 of file messages.hpp.

Variable Documentation

◆ anonymity

common::Anonymity anonymity =common::Anonymity::Anonymous

Definition at line 0 of file messages.hpp.

◆ askPrice

common::Price_t askPrice

Definition at line 2 of file messages.hpp.

◆ askSize

int32_t askSize

Definition at line 3 of file messages.hpp.

◆ bidPrice

common::Price_t bidPrice

Definition at line 0 of file messages.hpp.

◆ bidSize

int32_t bidSize

Definition at line 1 of file messages.hpp.

◆ capacity

common::Capacity capacity

Definition at line 2 of file messages.hpp.

◆ container

common::Container container

Definition at line 6 of file messages.hpp.

◆ displayQty

order_qty_t displayQty

Definition at line 3 of file messages.hpp.

◆ executedQty

order_qty_t executedQty

Definition at line 4 of file messages.hpp.

◆ instrumentID_

common::SecurityID_t instrumentID_

Definition at line 0 of file messages.hpp.

◆ leavesQty

order_qty_t leavesQty

Definition at line 5 of file messages.hpp.

◆ mesQualifier_

common::MESQualifier mesQualifier_ =common::MESQualifier::NonMES

Definition at line 1 of file messages.hpp.

◆ minimumQuantity

int32_t minimumQuantity =0

Definition at line 4 of file messages.hpp.

◆ orderQty_

order_qty_t orderQty_

Definition at line 2 of file messages.hpp.

◆ passiveOnlyOrder_

common::PassiveOnlyOrder passiveOnlyOrder_ =common::PassiveOnlyOrder::NoConstraint

Definition at line 2 of file messages.hpp.

◆ priceDifferential

common::PriceDifferential priceDifferential

Definition at line 3 of file messages.hpp.

◆ publicOrderID

common::PublicOrderID_t publicOrderID

Definition at line 4 of file messages.hpp.

◆ reservedField

common::ReservedField9_t reservedField

Definition at line 3 of file messages.hpp.

◆ reservedField1

const std::int8_t reservedField1 =0

Definition at line 2 of file messages.hpp.

◆ segment

common::Segment_t segment {}

Definition at line 3 of file messages.hpp.

◆ stoppedPrice

common::Price_t stoppedPrice =0

Definition at line 1 of file messages.hpp.

◆ typeOfTrade

common::TypeOfTrade typeOfTrade

Definition at line 1 of file messages.hpp.