fix8  version 1.4.0
Open Source C++ FIX Framework
FIX8::TEX::TradingSessionStatus Class Reference

TradingSessionStatus (h), application, 112 fields, 4 groups. More...

#include <Myfix_classes.hpp>

Inheritance diagram for FIX8::TEX::TradingSessionStatus:
FIX8::Message FIX8::MessageBase

Classes

class  NoComplexEvents
 NoComplexEvents (1483), application, 8 fields, 1 group, shares static data, hash: 0xeafe7f40. More...
 
class  NoEvents
 NoEvents (864), application, 5 fields, 0 groups, shares static data, hash: 0xfc9cd015. More...
 
class  NoInstrumentParties
 NoInstrumentParties (1018), application, 4 fields, 1 group, shares static data, hash: 0x73c90a7e. More...
 
class  NoSecurityAltID
 NoSecurityAltID (454), application, 2 fields, 0 groups, shares static data, hash: 0x233bfebe. More...
 

Public Member Functions

 TradingSessionStatus (bool deepctor=true)
 
 ~TradingSessionStatus ()=default
 
bool process (Router &rt) const
 
GroupBasecreate_nested_group (unsigned short fnum) const
 
- Public Member Functions inherited from FIX8::Message
template<typename InputIterator >
 Message (const F8MetaCntx &ctx, const f8String &msgType, const InputIterator begin, const size_t cnt, const FieldTrait_Hash_Array *ftha)
 
virtual ~Message ()
 Dtor. More...
 
MessageBaseHeader () const
 
MessageBaseTrailer () const
 
MessageBaseHeader ()
 
MessageBaseTrailer ()
 
unsigned decode (const f8String &from, unsigned offset=0, unsigned ignore=0, bool permissive_mode=false)
 
F8API size_t encode (f8String &to) const
 
F8API size_t encode (char **to) const
 Encode message with minimal copying. More...
 
F8API Messageclone () const
 
virtual bool is_admin () const
 
virtual void clear (bool reuse=true)
 
virtual void set_custom_seqnum (unsigned seqnum)
 
unsigned get_custom_seqnum () const
 
virtual void set_no_increment (bool flag=true)
 
virtual bool get_no_increment () const
 
bool get_end_of_batch () const
 
void set_end_of_batch (bool is_end_of_batch)
 
void setup_reuse ()
 
void push_unknown (Message *to) const
 
BaseFieldget_field_flattened (const unsigned short fnum) const
 
BaseFieldget_field_by_name_flattened (const char *tag) const
 
virtual F8API void print (std::ostream &os, int depth=0) const
 
- Public Member Functions inherited from FIX8::MessageBase
template<typename InputIterator >
 MessageBase (const struct F8MetaCntx &ctx, const f8String &msgType, const InputIterator begin, const size_t cnt, const FieldTrait_Hash_Array *ftha)
 
F8API MessageBase (const MessageBase &from)
 Copy ctor. More...
 
F8API MessageBaseoperator= (const MessageBase &that)
 Assignment operator. More...
 
virtual ~MessageBase ()
 Dtor. More...
 
void clear_positions ()
 empty the positions map More...
 
size_t size () const
 
F8API unsigned decode (const f8String &from, unsigned offset, unsigned ignore=0, bool permissive_mode=false)
 
unsigned decode_group (GroupBase *grpbase, const unsigned short fnum, const f8String &from, unsigned s_offset, unsigned ignore)
 
F8API size_t encode (std::ostream &to) const
 
F8API size_t encode (char *to) const
 
F8API size_t encode_group (const unsigned short fnum, std::ostream &to) const
 
F8API size_t encode_group (const unsigned short fnum, char *to) const
 
F8API unsigned check_positions ()
 
F8API unsigned copy_legal (MessageBase *to, bool force=false) const
 
F8API unsigned move_legal (MessageBase *to, bool force=false)
 
void push_unknown (MessageBase *to) const
 
void check_set_rlm (BaseField *where) const
 
const f8Stringget_msgtype () const
 
void add_field_decoder (const unsigned short fnum, const unsigned pos, BaseField *what)
 
void add_field (const unsigned short fnum, Presence::const_iterator itr, const unsigned pos, BaseField *what, bool check)
 
void add_field (const unsigned short fnum, Fields::iterator fitr, const unsigned pos, BaseField *what, bool check=true)
 
void add_field (const unsigned short fnum, const unsigned pos, BaseField *what, bool check=true)
 
void set (const unsigned short field, FieldTrait::TraitTypes type=FieldTrait::present)
 
template<typename T >
bool add_field (T *what)
 
bool add_field (BaseField *what)
 
Groupsget_groups ()
 
template<typename T >
bool operator+= (T *what)
 
template<typename T >
MessageBaseoperator<< (T *what)
 
template<typename T >
bool get (T &to) const
 
template<typename T >
bool has () const
 
bool is_legal (unsigned short fnum) const
 
template<typename T >
bool is_legal () const
 
template<typename T >
const T * get () const
 
template<typename T >
bool operator() (T &to) const
 
template<typename T >
const T * operator() () const
 
bool have (const unsigned short fnum) const
 
Fields::const_iterator find_field (const unsigned short fnum) const
 
BaseFieldget_field (const unsigned short fnum) const
 
BaseFieldget_field_by_name (const char *tag) const
 
Fields::const_iterator fields_begin () const
 
Fields::const_iterator fields_end () const
 
F8API BaseFieldreplace (const unsigned short fnum, Presence::const_iterator itr, BaseField *with)
 
F8API BaseFieldreplace (const unsigned short fnum, BaseField *with)
 
F8API GroupBasereplace (const unsigned short fnum, GroupBase *with)
 
F8API BaseFieldremove (const unsigned short fnum, Presence::const_iterator itr)
 
F8API BaseFieldremove (const unsigned short fnum)
 
template<typename T >
GroupBasefind_group () const
 
GroupBasefind_group (const unsigned short fnum) const
 
template<typename T >
GroupBasefind_add_group (GroupBase *grpbase=nullptr)
 
GroupBasefind_add_group (const unsigned short fnum, GroupBase *grpbase=nullptr)
 
template<typename T >
void append_group (T *what)
 
void add_group (GroupBase *what)
 
MessageBaseoperator<< (GroupBase *what)
 
void operator+= (GroupBase *what)
 
unsigned short getPos (const unsigned short field) const
 
bool add_trait (const FieldTrait &what)
 
template<typename InputIterator >
void add_trait (const InputIterator begin, const size_t cnt)
 
virtual F8API void print_field (const unsigned short fnum, std::ostream &os) const
 
virtual F8API void print_group (const unsigned short fnum, std::ostream &os, int depth=0) const
 
const FieldTraitsget_fp () const
 
void print_fp (std::ostream &os)
 
virtual begin_stringget_begin_string ()
 
virtual body_lengthget_body_length ()
 
virtual msg_typeget_msg_type ()
 
virtual check_sumget_check_sum ()
 
const f8Stringget_unknown () const
 

Static Public Member Functions

static const MsgTypeget_msgtype ()
 
- Static Public Member Functions inherited from FIX8::Message
static unsigned calc_chksum (const char *from, const size_t sz, const unsigned offset=0, const int len=-1)
 
static unsigned calc_chksum (const f8String &from, const unsigned offset=0, const int len=-1)
 
static f8String fmt_chksum (const unsigned val)
 
static Messagefactory (const F8MetaCntx &ctx, const char *from, bool no_chksum=false, bool permissive_mode=false)
 
static F8API Messagefactory (const F8MetaCntx &ctx, const f8String &from, bool no_chksum=false, bool permissive_mode=false)
 
- Static Public Member Functions inherited from FIX8::MessageBase
static unsigned extract_element (const char *from, const unsigned sz, char *tag, char *val)
 
static unsigned extract_element_fixed_width (const char *from, const unsigned sz, const unsigned val_sz, char *tag, char *val)
 
static unsigned extract_element (const char *from, const unsigned sz, f8String &tag, f8String &val)
 
static void set_tabsize (unsigned tabsize)
 
static unsigned get_tabsize ()
 
static bool has_group_count (const BaseField *bf)
 

Static Private Attributes

static F8_TEX_API const FieldTrait _traits []
 
static F8_TEX_API const FieldTrait_Hash_Array _ftha
 
static F8_TEX_API const MsgType _msgtype
 
static F8_TEX_API const unsigned _fieldcnt = 112
 

Additional Inherited Members

- Static Protected Member Functions inherited from FIX8::MessageBase
static unsigned extract_header (const f8String &from, char *len, char *mtype)
 
static unsigned extract_trailer (const f8String &from, f8String &chksum)
 
- Protected Attributes inherited from FIX8::Message
MessageBase_header
 
MessageBase_trailer
 
unsigned _custom_seqnum
 
bool _no_increment
 
bool _end_of_batch
 
- Protected Attributes inherited from FIX8::MessageBase
Fields _fields
 
FieldTraits _fp
 
Positions _pos
 
Groups _groups
 
const f8String_msgType
 
const F8MetaCntx_ctx
 
- Static Protected Attributes inherited from FIX8::MessageBase
static F8API unsigned _tabsize = defaults::tabsize
 

Detailed Description

TradingSessionStatus (h), application, 112 fields, 4 groups.

Definition at line 36569 of file Myfix_classes.hpp.

Constructor & Destructor Documentation

FIX8::TEX::TradingSessionStatus::TradingSessionStatus ( bool  deepctor = true)
inlineexplicit

Definition at line 36577 of file Myfix_classes.hpp.

References FIX8::MessageBase::_groups.

36578  {
36579  if (deepctor)
36580  _groups.insert({
36581  { 454, new NoSecurityAltID },
36582  { 864, new NoEvents },
36583  { 1018, new NoInstrumentParties },
36584  { 1483, new NoComplexEvents },
36585  });
36586  }
Field< NumInGroup, 864 > NoEvents
Field< NumInGroup, 454 > NoSecurityAltID
static F8_TEX_API const unsigned _fieldcnt
const F8MetaCntx & ctx()
Compiler generated metadata object, accessed through this function.
Field< NumInGroup, 1018 > NoInstrumentParties
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const MsgType _msgtype
Field< NumInGroup, 1483 > NoComplexEvents
Message(const F8MetaCntx &ctx, const f8String &msgType, const InputIterator begin, const size_t cnt, const FieldTrait_Hash_Array *ftha)
Definition: message.hpp:1087
static F8_TEX_API const FieldTrait_Hash_Array _ftha
FIX8::TEX::TradingSessionStatus::~TradingSessionStatus ( )
default

Member Function Documentation

GroupBase* FIX8::TEX::TradingSessionStatus::create_nested_group ( unsigned short  fnum) const
inlinevirtual

Instantiate a new nested group element.

Parameters
fnumfield number of group to create
Returns
new message

Reimplemented from FIX8::MessageBase.

Definition at line 36591 of file Myfix_classes.hpp.

36592  {
36593  switch(fnum)
36594  {
36595  case 454: return new NoSecurityAltID;
36596  case 864: return new NoEvents;
36597  case 1018: return new NoInstrumentParties;
36598  case 1483: return new NoComplexEvents;
36599  default: return nullptr;
36600  }
36601  }
Field< NumInGroup, 864 > NoEvents
Field< NumInGroup, 454 > NoSecurityAltID
Field< NumInGroup, 1018 > NoInstrumentParties
Field< NumInGroup, 1483 > NoComplexEvents
static const MsgType& FIX8::TEX::TradingSessionStatus::get_msgtype ( )
inlinestatic

Definition at line 36590 of file Myfix_classes.hpp.

References _msgtype.

36590 { return _msgtype; }
static F8_TEX_API const MsgType _msgtype
bool FIX8::TEX::TradingSessionStatus::process ( Router rt) const
inlinevirtual

Initiate callback to appropriate process method from metadata.

Parameters
rtreference to router instance
Returns
true if correctly processed

Reimplemented from FIX8::Message.

Definition at line 36588 of file Myfix_classes.hpp.

36588 { return (static_cast<Myfix_Router&>(rt))(this); }

Member Data Documentation

F8_TEX_API const unsigned FIX8::TEX::TradingSessionStatus::_fieldcnt = 112
staticprivate

Definition at line 36574 of file Myfix_classes.hpp.

const FieldTrait_Hash_Array FIX8::TEX::TradingSessionStatus::_ftha
staticprivate

Definition at line 36572 of file Myfix_classes.hpp.

const MsgType FIX8::TEX::TradingSessionStatus::_msgtype
staticprivate

Definition at line 36573 of file Myfix_classes.hpp.

Referenced by get_msgtype().

const FieldTrait FIX8::TEX::TradingSessionStatus::_traits
staticprivate
Initial value:
{
{ 22,15, 21, 54,0x14}, { 48,15, 20, 54,0x14}, { 55,15, 18, 54,0x14}, { 58,15, 15, 0,0x04},
{ 65,15, 19, 54,0x14}, { 106,15, 47, 54,0x14}, { 107,15, 50, 54,0x14}, { 167,15, 25, 54,0x14},
{ 200,21, 27, 54,0x14}, { 201, 1, 88, 54,0x14}, { 202,11, 41, 54,0x14}, { 206, 7, 43, 54,0x14},
{ 207,20, 46, 54,0x14}, { 223,14, 45, 54,0x14}, { 224,25, 29, 54,0x14}, { 225,25, 30, 54,0x14},
{ 226, 1, 32, 54,0x14}, { 227,14, 33, 54,0x14}, { 228, 9, 34, 54,0x14}, { 231, 9, 44, 54,0x14},
{ 239, 1, 31, 54,0x14}, { 240,25, 40, 54,0x14}, { 255,15, 35, 54,0x14}, { 325, 8, 6, 0,0x04},
{ 335,15, 1, 0,0x04}, { 336,15, 2, 0,0x05}, { 338, 1, 4, 0,0x04}, { 339, 1, 5, 0,0x04},
{ 340, 1, 7, 0,0x05}, { 341,22, 9, 0,0x04}, { 342,22, 10, 0,0x04}, { 343,22, 11, 0,0x04},
{ 344,22, 12, 0,0x04}, { 345,22, 13, 0,0x04}, { 348, 2, 48, 54,0x14}, { 349,28, 49, 54,0x14},
{ 350, 2, 51, 54,0x14}, { 351,28, 52, 54,0x14}, { 354, 2, 16, 0,0x04}, { 355,28, 17, 0,0x04},
{ 387,10, 14, 0,0x04}, { 454, 1, 22,142,0x1c}, { 460, 1, 23, 54,0x14}, { 461,15, 24, 54,0x14},
{ 470,18, 37, 54,0x14}, { 471,15, 38, 54,0x14}, { 472,15, 39, 54,0x14}, { 541,25, 28, 54,0x14},
{ 543,15, 36, 54,0x14}, { 567, 1, 8, 0,0x04}, { 625,15, 3, 0,0x04}, { 667,21, 54, 54,0x14},
{ 691,15, 53, 54,0x14}, { 762,15, 26, 54,0x14}, { 864, 1, 57, 38,0x1c}, { 873,25, 58, 54,0x14},
{ 874,25, 59, 54,0x14}, { 875, 1, 55, 54,0x14}, { 876,15, 56, 54,0x14}, { 947,19, 42, 54,0x14},
{ 965,15, 60, 54,0x14}, { 966,15, 61, 54,0x14}, { 967, 9, 63, 54,0x14}, { 968, 9, 64, 54,0x14},
{ 969, 9, 65, 54,0x14}, { 970, 1, 66, 54,0x14}, { 971, 1, 67, 54,0x14}, { 996,15, 69, 54,0x14},
{ 997,15, 70, 54,0x14}, {1018, 1, 68, 57,0x1c}, {1049, 7, 62, 54,0x14}, {1079,26, 71, 54,0x14},
{1146,13, 73, 54,0x14}, {1147,10, 74, 54,0x14}, {1151,15, 72, 54,0x14}, {1180,15,109, 8,0x14},
{1181, 4,110, 8,0x14}, {1184, 2, 75,150,0x14}, {1185,29, 76,150,0x14}, {1186,15, 77,150,0x14},
{1191,15, 79, 54,0x14}, {1192,10, 80, 54,0x14}, {1193, 7, 81, 54,0x14}, {1194, 1, 82, 54,0x14},
{1195,13, 83, 54,0x14}, {1196,15, 84, 54,0x14}, {1197,15, 91, 54,0x14}, {1198, 1, 85, 54,0x14},
{1199,11, 86, 54,0x14}, {1200,11, 87, 54,0x14}, {1227,15, 78, 54,0x14}, {1242, 8, 90, 54,0x14},
{1244, 8, 89, 54,0x14}, {1300,15,107, 0,0x04}, {1301,20,106, 0,0x04}, {1350, 4,111, 8,0x14},
{1352, 8,112, 8,0x14}, {1368, 1,108, 0,0x04}, {1435, 1, 92, 54,0x14}, {1439, 1, 93, 54,0x14},
{1449,15, 94, 54,0x14}, {1450,15, 95, 54,0x14}, {1451,14, 96, 54,0x14}, {1452,14, 97, 54,0x14},
{1457,14, 98, 54,0x14}, {1458,14, 99, 54,0x14}, {1478, 1,100, 54,0x14}, {1479, 1,101, 54,0x14},
{1480,14,102, 54,0x14}, {1481, 1,103, 54,0x14}, {1482, 1,104, 54,0x14}, {1483, 1,105, 21,0x1c}
}

Definition at line 36571 of file Myfix_classes.hpp.


The documentation for this class was generated from the following files: