B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Parser::ParseError Struct Reference

Describes the LiteFixMessage parse error. More...

#include <LiteFixMessage.h>

Public Member Functions

void reset (const LiteFixMessage *msg, ParserException::RejectReason reasonCode, const char *reason, int tag, int parsePos)
 Sets the parse error description. More...
 

Public Attributes

int parsePos_
 parsing position in the message More...
 
const char * reason_
 the error description More...
 
ParserException::RejectReason reasonCode_
 the reject reason code, see SessionRejectReason(373) More...
 
const char * refMsgType_
 message type, no null terminator! More...
 
int refMsgType_len_
 message type length More...
 
int refSeqNum_
 message seq num More...
 
int tag_
 tag number of the FIX field being referenced More...
 

Static Public Attributes

static const int PARSE_AGAIN = -1
 the message should be parsed again More...
 
static const int PARSE_ERROR = -2
 parsing has been completed with an error More...
 
static const int PARSE_INCOMPLETE = -3
 the buffer contains an incomplete message More...
 

Detailed Description

Describes the LiteFixMessage parse error.

Member Function Documentation

void Parser::ParseError::reset ( const LiteFixMessage msg,
ParserException::RejectReason  reasonCode,
const char *  reason,
int  tag,
int  parsePos 
)

Sets the parse error description.

Parameters
msgthe message that is being parsed
reasonCodethe reject reason code, see SessionRejectReason(373)
reasonthe description of the error reason . Must exist during the lifetime of ParseError
tagthe tag number of the FIX field being referenced
parsePosthe parsing position in the message

Member Data Documentation

const int Parser::ParseError::PARSE_AGAIN = -1
static

the message should be parsed again

const int Parser::ParseError::PARSE_ERROR = -2
static

parsing has been completed with an error

const int Parser::ParseError::PARSE_INCOMPLETE = -3
static

the buffer contains an incomplete message

int Parser::ParseError::parsePos_

parsing position in the message

const char* Parser::ParseError::reason_

the error description

ParserException::RejectReason Parser::ParseError::reasonCode_

the reject reason code, see SessionRejectReason(373)

const char* Parser::ParseError::refMsgType_

message type, no null terminator!

int Parser::ParseError::refMsgType_len_

message type length

int Parser::ParseError::refSeqNum_

message seq num

int Parser::ParseError::tag_

tag number of the FIX field being referenced