Static Public Member Functions | List of all members
FIX::header_order Struct Reference

Sorts fields in correct header order. More...

#include <MessageSorters.h>

Static Public Member Functions

static bool compare (const int x, const int y)
 
static int getOrderedPosition (const int field)
 

Detailed Description

Sorts fields in correct header order.

Definition at line 53 of file MessageSorters.h.

Member Function Documentation

◆ compare()

static bool FIX::header_order::compare ( const int  x,
const int  y 
)
inlinestatic

Definition at line 71 of file MessageSorters.h.

71 {
72  static bool compare( const int x, const int y )
73  {
74  if ( x == FIELD::CheckSum ) return false;
75  else
76  if ( y == FIELD::CheckSum ) return true;
77  else return x < y;
78  }
79 };
80 
82 struct group_order
83 {
84  static bool compare( const int x, const int y, int* order, int largest )
85  {
86  if ( x <= largest && y <= largest )

References FIX::trailer_order::compare().

◆ getOrderedPosition()

static int FIX::header_order::getOrderedPosition ( const int  field)
inlinestatic

Definition at line 88 of file MessageSorters.h.


The documentation for this struct was generated from the following file:
FIX::header_order::compare
static bool compare(const int x, const int y)
Definition: MessageSorters.h:71

Generated on Thu Apr 23 2020 04:32:03 for QuickFIX by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2001