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

NewOrderMultileg (AB), application, 216 fields, 10 groups. More...

#include <Myfix_classes.hpp>

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

Classes

class  NoAllocs
 NoAllocs (78), application, 6 fields, 1 group, shares static data, hash: 0xe2c9c56d. More...
 
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  NoLegs
 NoLegs (555), application, 71 fields, 4 groups, shares static data, hash: 0x801ae0ec. More...
 
class  NoPartyIDs
 NoPartyIDs (453), application, 4 fields, 1 group, shares static data, hash: 0xe5f4bbef. More...
 
class  NoSecurityAltID
 NoSecurityAltID (454), application, 2 fields, 0 groups, shares static data, hash: 0x233bfebe. More...
 
class  NoStrategyParameters
 NoStrategyParameters (957), application, 3 fields, 0 groups, shares static data, hash: 0x571a4f4c. More...
 
class  NoTradingSessions
 NoTradingSessions (386), application, 2 fields, 0 groups, shares static data, hash: 0x23290f55. More...
 
class  NoUnderlyings
 NoUnderlyings (711), application, 72 fields, 3 groups, shares static data, hash: 0xb078f5a8. More...
 

Public Member Functions

 NewOrderMultileg (bool deepctor=true)
 
 ~NewOrderMultileg ()=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 = 216
 

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

NewOrderMultileg (AB), application, 216 fields, 10 groups.

Definition at line 2814 of file Myfix_classes.hpp.

Constructor & Destructor Documentation

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

Definition at line 2822 of file Myfix_classes.hpp.

References FIX8::MessageBase::_groups.

2823  {
2824  if (deepctor)
2825  _groups.insert({
2826  { 78, new NoAllocs },
2827  { 386, new NoTradingSessions },
2828  { 453, new NoPartyIDs },
2829  { 454, new NoSecurityAltID },
2830  { 555, new NoLegs },
2831  { 711, new NoUnderlyings },
2832  { 864, new NoEvents },
2833  { 957, new NoStrategyParameters },
2834  { 1018, new NoInstrumentParties },
2835  { 1483, new NoComplexEvents },
2836  });
2837  }
Field< NumInGroup, 453 > NoPartyIDs
Field< NumInGroup, 864 > NoEvents
Field< NumInGroup, 711 > NoUnderlyings
Field< NumInGroup, 78 > NoAllocs
Field< NumInGroup, 454 > NoSecurityAltID
static F8_TEX_API const MsgType _msgtype
Field< NumInGroup, 555 > NoLegs
static F8_TEX_API const unsigned _fieldcnt
const F8MetaCntx & ctx()
Compiler generated metadata object, accessed through this function.
Field< NumInGroup, 1018 > NoInstrumentParties
Field< NumInGroup, 957 > NoStrategyParameters
static F8_TEX_API const FieldTrait_Hash_Array _ftha
Field< NumInGroup, 386 > NoTradingSessions
static F8_TEX_API const FieldTrait _traits[]
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
FIX8::TEX::NewOrderMultileg::~NewOrderMultileg ( )
default

Member Function Documentation

GroupBase* FIX8::TEX::NewOrderMultileg::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 2842 of file Myfix_classes.hpp.

2843  {
2844  switch(fnum)
2845  {
2846  case 78: return new NoAllocs;
2847  case 386: return new NoTradingSessions;
2848  case 453: return new NoPartyIDs;
2849  case 454: return new NoSecurityAltID;
2850  case 555: return new NoLegs;
2851  case 711: return new NoUnderlyings;
2852  case 864: return new NoEvents;
2853  case 957: return new NoStrategyParameters;
2854  case 1018: return new NoInstrumentParties;
2855  case 1483: return new NoComplexEvents;
2856  default: return nullptr;
2857  }
2858  }
Field< NumInGroup, 453 > NoPartyIDs
Field< NumInGroup, 864 > NoEvents
Field< NumInGroup, 711 > NoUnderlyings
Field< NumInGroup, 78 > NoAllocs
Field< NumInGroup, 454 > NoSecurityAltID
Field< NumInGroup, 555 > NoLegs
Field< NumInGroup, 1018 > NoInstrumentParties
Field< NumInGroup, 957 > NoStrategyParameters
Field< NumInGroup, 386 > NoTradingSessions
Field< NumInGroup, 1483 > NoComplexEvents
static const MsgType& FIX8::TEX::NewOrderMultileg::get_msgtype ( )
inlinestatic

Definition at line 2841 of file Myfix_classes.hpp.

References _msgtype.

2841 { return _msgtype; }
static F8_TEX_API const MsgType _msgtype
bool FIX8::TEX::NewOrderMultileg::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 2839 of file Myfix_classes.hpp.

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

Member Data Documentation

F8_TEX_API const unsigned FIX8::TEX::NewOrderMultileg::_fieldcnt = 216
staticprivate

Definition at line 2819 of file Myfix_classes.hpp.

const FieldTrait_Hash_Array FIX8::TEX::NewOrderMultileg::_ftha
staticprivate

Definition at line 2817 of file Myfix_classes.hpp.

const MsgType FIX8::TEX::NewOrderMultileg::_msgtype
staticprivate

Definition at line 2818 of file Myfix_classes.hpp.

Referenced by get_msgtype().

const FieldTrait FIX8::TEX::NewOrderMultileg::_traits
staticprivate

Definition at line 2816 of file Myfix_classes.hpp.


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