libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
isimud::exchanges::BATSBOE::common::optional::ModifyOrder Namespace Reference

Typedefs

using bitfields_to_type_map = jmmcg::bitfield_map< boost::mpl::map< boost::mpl::pair< std::integral_constant< bitfields_t, bitfields_t::ClearingFirm >::type, common::ClearingFirm_t >, boost::mpl::pair< std::integral_constant< bitfields_t, bitfields_t::Reserved1 >::type, jmmcg::a_zero_sized_class >, boost::mpl::pair< std::integral_constant< bitfields_t, bitfields_t::OrderQty >::type, uint32_t >, boost::mpl::pair< std::integral_constant< bitfields_t, bitfields_t::Price >::type, common::Price_t >, boost::mpl::pair< std::integral_constant< bitfields_t, bitfields_t::OrdType >::type, common::OrdType >, boost::mpl::pair< std::integral_constant< bitfields_t, bitfields_t::CancelOrigOnReject >::type, common::CancelOrigOnReject >, boost::mpl::pair< std::integral_constant< bitfields_t, bitfields_t::ExecInst >::type, common::ExecInst >, boost::mpl::pair< std::integral_constant< bitfields_t, bitfields_t::Side >::type, common::Side > > >
 

Enumerations

enum  bitfields_t : uint16_t {
  bitfields_t::ClearingFirm =(0x1UL<<0), bitfields_t::Reserved1 =(0x1UL<<1), bitfields_t::OrderQty =(0x1UL<<2), bitfields_t::Price =(0x1UL<<3),
  bitfields_t::OrdType =(0x1UL<<4), bitfields_t::CancelOrigOnReject =(0x1UL<<5), bitfields_t::ExecInst =(0x1UL<<6), bitfields_t::Side =(0x1UL<<7),
  bitfields_t::last_field =(0x1UL<<7)
}
 

Functions

 BOOST_MPL_ASSERT_RELATION (static_cast< std::size_t >(jmmcg::mpl::bit_position< static_cast< std::underlying_type< bitfields_t >::type >(bitfields_t::last_field)>::value),==, static_cast< std::size_t >(bitfields_to_type_map::mapped_types_size))
 

Typedef Documentation

◆ bitfields_to_type_map

using isimud::exchanges::BATSBOE::common::optional::ModifyOrder::bitfields_to_type_map = typedef jmmcg::bitfield_map< boost::mpl::map< boost::mpl::pair< std::integral_constant<bitfields_t, bitfields_t::ClearingFirm>::type, common::ClearingFirm_t >, boost::mpl::pair< std::integral_constant<bitfields_t, bitfields_t::Reserved1>::type, jmmcg::a_zero_sized_class >, boost::mpl::pair< std::integral_constant<bitfields_t, bitfields_t::OrderQty>::type, uint32_t >, boost::mpl::pair< std::integral_constant<bitfields_t, bitfields_t::Price>::type, common::Price_t >, boost::mpl::pair< std::integral_constant<bitfields_t, bitfields_t::OrdType>::type, common::OrdType >, boost::mpl::pair< std::integral_constant<bitfields_t, bitfields_t::CancelOrigOnReject>::type, common::CancelOrigOnReject >, boost::mpl::pair< std::integral_constant<bitfields_t, bitfields_t::ExecInst>::type, common::ExecInst >, boost::mpl::pair< std::integral_constant<bitfields_t, bitfields_t::Side>::type, common::Side > > >

Definition at line 681 of file optional_field_types.hpp.

Enumeration Type Documentation

◆ bitfields_t

Enumerator
ClearingFirm 
Reserved1 
OrderQty 
Price 
OrdType 
CancelOrigOnReject 
ExecInst 
Side 
last_field 

Definition at line 634 of file optional_field_types.hpp.

Function Documentation

◆ BOOST_MPL_ASSERT_RELATION()

isimud::exchanges::BATSBOE::common::optional::ModifyOrder::BOOST_MPL_ASSERT_RELATION ( static_cast< std::size_t >  jmmcg::mpl::bit_position< static_cast< std::underlying_type< bitfields_t >::type >(bitfields_t::last_field)>::value,
static_cast< std::size_t >  bitfields_to_type_map::mapped_types_size 
)