libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
Classes | |
class | client_to_exchange_transformations |
An FIX-protocol message handler. More... | |
class | connectivity_policy |
An implementation of the connectivity policy for the FIX protocol. More... | |
class | exchange_to_client_transformations |
A FIX-protocol-to-client message handler. More... | |
class | Header |
struct | logoff_args_t |
struct | logon_args_t |
class | Message |
The basic, underlying type used to implement FIX message reading. More... | |
class | server_hb_t |
Generate heartbeats from the containing simulator. More... | |
class | simulator_responses |
A simple, FIX-protocol exchange simulator. More... | |
Typedefs | |
using | MsgTypes_t = v5_0sp2::MsgType_enum_t_ul_t |
using | MsgTypes = v5_0sp2::MsgType_t |
using | ExecType = v5_0sp2::ExecType_t |
using | OrdStatus = v5_0sp2::OrdStatus_t |
using | SecurityIDSource = v5_0sp2::SecurityIDSource_t |
using | Side = v5_0sp2::Side_t |
using | FieldsFast = v5_0sp2::FieldsFast |
using | element_type = char |
using | underlying_fix_data_buffer = std::array< element_type, max_size_of_fix_message > |
An underlying data-buffer into which the fix message may be created. More... | |
using | pointer = element_type * |
using | const_pointer = element_type const * |
using | data_block_t = pointer |
The type of the internal data-buffer. More... | |
using | SecurityID_t = std::array< char, 20 > |
using | ClientOrderID_t = std::array< char, 20 > |
using | Reason_t = std::array< char, 20 > |
using | Password_t = std::array< char, 25 > |
using | UserName_t = std::array< char, 25 > |
using | Price_t = std::array< char, 25 > |
using | checksum_t = std::array< char, CheckSumLength+1 > |
The checksum type used by FIX. More... | |
using | field_str_range_t = std::pair< const_pointer, const_pointer > |
Enumerations | |
enum | : std::size_t { max_size_of_fix_message =sizeof(__uint128_t)*32 } |
Functions | |
int | convert (std::uint32_t a, char *buff, std::size_t sz) noexcept(true) |
constexpr Side | convert (BATSBOE::common::Side a) |
int | convert_price (BATSBOE::common::Price_t const &a, char *buff, std::size_t sz) |
template<class RefData > | |
constexpr int | convert (MIT::common::SecurityID_t const &key, RefData const &ref_data, char *buff, [[maybe_unused]] std::size_t sz) |
ExecType | convert (MIT::common::ExecType const &a) noexcept(false) |
OrdStatus | convert (MIT::common::OrderStatus const &a) noexcept(false) |
int | convert (std::int32_t a, char *buff, std::size_t sz) noexcept(true) |
int | convert (MIT::common::Price_t const &a, char *buff, std::size_t sz) |
constexpr char | convert (MIT::common::Side const &a) |
template<class DestMsg , class SrcMsg , class OutIter > | |
OutIter | convert_ClOrdID (SrcMsg const &msg, OutIter data) noexcept(true) |
template<class MsgVer > | |
class isimud::exchanges::FIX::common::Header | __attribute__ ((packed)) |
template<class MsgVer > | |
isimud::exchanges::FIX::common::Message Header | __attribute__ ((packed)) |
template<class MsgVer > | |
std::ostream & | operator<< (std::ostream &os, Message< MsgVer > const &m) |
template<class SrcMsgDetails , class DestMsgDetails , class SktT > | |
std::ostream & | operator<< (std::ostream &os, client_to_exchange_transformations< SrcMsgDetails, DestMsgDetails, SktT > const &ec) noexcept(false) |
template<class SrcMsgDetails , class DestMsgDetails , class SktT > | |
std::ostream & | operator<< (std::ostream &os, exchange_to_client_transformations< SrcMsgDetails, DestMsgDetails, SktT > const &ec) noexcept(false) |
template<class SrcMsgDetails , class SktT > | |
std::ostream & | operator<< (std::ostream &os, simulator_responses< SrcMsgDetails, SktT > const &ec) noexcept(false) |
BOOST_MPL_ASSERT_RELATION ((jmmcg::enum_tags::mpl::to_array< FieldsFast, FieldsFast::BodyLength >::size),==, sizeof(JMMCG_FIX_MSG_BODY_LENGTH_TAG) -1) | |
BOOST_MPL_ASSERT_RELATION ((jmmcg::enum_tags::mpl::to_array< FieldsFast, FieldsFast::MsgType >::size), >=, sizeof(JMMCG_FIX_MSG_TYPE_TAG) -1) | |
Variables | |
constexpr const char | Separator ='\001' |
constexpr const unsigned short | CheckSumLength =3 |
constexpr const std::uint64_t | implied_decimal_places =100000000 |
using isimud::exchanges::FIX::common::checksum_t = typedef std::array<char, CheckSumLength+1> |
using isimud::exchanges::FIX::common::ClientOrderID_t = typedef std::array<char, 20> |
using isimud::exchanges::FIX::common::const_pointer = typedef element_type const * |
using isimud::exchanges::FIX::common::data_block_t = typedef pointer |
using isimud::exchanges::FIX::common::element_type = typedef char |
using isimud::exchanges::FIX::common::ExecType = typedef v5_0sp2::ExecType_t |
using isimud::exchanges::FIX::common::field_str_range_t = typedef std::pair<const_pointer, const_pointer> |
using isimud::exchanges::FIX::common::FieldsFast = typedef v5_0sp2::FieldsFast |
using isimud::exchanges::FIX::common::MsgTypes = typedef v5_0sp2::MsgType_t |
using isimud::exchanges::FIX::common::OrdStatus = typedef v5_0sp2::OrdStatus_t |
using isimud::exchanges::FIX::common::Password_t = typedef std::array<char, 25> |
using isimud::exchanges::FIX::common::pointer = typedef element_type * |
using isimud::exchanges::FIX::common::Price_t = typedef std::array<char, 25> |
using isimud::exchanges::FIX::common::Reason_t = typedef std::array<char, 20> |
using isimud::exchanges::FIX::common::SecurityID_t = typedef std::array<char, 20> |
using isimud::exchanges::FIX::common::Side = typedef v5_0sp2::Side_t |
using isimud::exchanges::FIX::common::underlying_fix_data_buffer = typedef std::array<element_type, max_size_of_fix_message> |
using isimud::exchanges::FIX::common::UserName_t = typedef std::array<char, 25> |
anonymous enum : std::size_t |
class isimud::exchanges::FIX::common::Header isimud::exchanges::FIX::common::__attribute__ | ( | (packed) | ) |
isimud::exchanges::FIX::common::Message Header isimud::exchanges::FIX::common::__attribute__ | ( | (packed) | ) |
isimud::exchanges::FIX::common::BOOST_MPL_ASSERT_RELATION | ( | (jmmcg::enum_tags::mpl::to_array< FieldsFast, FieldsFast::BodyLength >::size) | , |
sizeof(JMMCG_FIX_MSG_BODY_LENGTH_TAG) - | 1 | ||
) |
isimud::exchanges::FIX::common::BOOST_MPL_ASSERT_RELATION | ( | (jmmcg::enum_tags::mpl::to_array< FieldsFast, FieldsFast::MsgType >::size) | , |
>= | , | ||
sizeof(JMMCG_FIX_MSG_TYPE_TAG) - | 1 | ||
) |
|
inlineconstexpr |
Definition at line 102 of file batsboe_common_to_fix_conversions.hpp.
References convert().
|
inlinenoexcept |
Definition at line 116 of file mit_to_fix_conversions.hpp.
|
inlinenoexcept |
Definition at line 152 of file mit_to_fix_conversions.hpp.
References convert().
|
inline |
Definition at line 187 of file mit_to_fix_conversions.hpp.
References convert().
|
inlineconstexpr |
Note that only ISIN symbology is supported.
Definition at line 104 of file mit_to_fix_conversions.hpp.
|
inlineconstexpr |
Definition at line 196 of file mit_to_fix_conversions.hpp.
|
inlinenoexcept |
Definition at line 177 of file mit_to_fix_conversions.hpp.
Referenced by convert(), convert_price(), isimud::exchanges::FIX::common::Header< HeartbeatSpecific >::generate_checksum(), isimud::exchanges::FIX::common::Header< HeartbeatSpecific >::is_checksum_valid(), isimud::exchanges::FIX::common::Header< HeartbeatSpecific >::is_valid(), isimud::exchanges::FIX::common::Message< HeartbeatSpecific >::Message(), isimud::exchanges::FIX::common::Header< HeartbeatSpecific >::set_sequence_num(), and isimud::exchanges::FIX::common::Message< HeartbeatSpecific >::size().
|
inlinenoexcept |
Definition at line 97 of file batsboe_common_to_fix_conversions.hpp.
|
inlinenoexcept |
Definition at line 209 of file mit_to_fix_conversions.hpp.
|
inline |
Definition at line 117 of file batsboe_common_to_fix_conversions.hpp.
References convert().
|
inlinenoexcept |
Definition at line 121 of file processing_rules_impl.hpp.
|
inlinenoexcept |
Definition at line 168 of file processing_rules_impl.hpp.
|
inline |
Definition at line 333 of file messages_impl.hpp.
|
inlinenoexcept |
Definition at line 211 of file processing_rules_impl.hpp.
|
constexpr |
|
constexpr |