B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ILink3V7::CommonFieldsIterator Class Referenceabstract

#include <ILink3V7BinaryMessages.h>

+ Inheritance diagram for ILink3V7::CommonFieldsIterator:
+ Collaboration diagram for ILink3V7::CommonFieldsIterator:

Public Member Functions

 CommonFieldsIterator (const void *buffer, const size_t fieldsCount, const FieldDescriptor *fields)
 
CHAR getCHARFieldValue () const
 
charNULL getcharNULLFieldValue () const
 
const AsciiString getClientFlowTypeFieldValue () const
 
CrossOrderType getCrossOrderTypeFieldValue () const
 
CrossPrioritization getCrossPrioritizationFieldValue () const
 
CrossType getCrossTypeFieldValue () const
 
CxlRejRsp getCxlRejRspFieldValue () const
 
CxrRejRsp getCxrRejRspFieldValue () const
 
const DATAgetDATAFieldValue () const
 
const Decimal32NULLgetDecimal32NULLFieldValue () const
 
const Decimal64NULLgetDecimal64NULLFieldValue () const
 
enumNULL getenumNULLFieldValue () const
 
const AsciiString getExchFlowTypFieldValue () const
 
ExecTypeCxl getExecTypeCxlFieldValue () const
 
ExecTypeExp getExecTypeExpFieldValue () const
 
ExecTypeModify getExecTypeModifyFieldValue () const
 
ExecTypePendCxl getExecTypePendCxlFieldValue () const
 
ExecTypePendModify getExecTypePendModifyFieldValue () const
 
ExecTypeTrade getExecTypeTradeFieldValue () const
 
ExecTypNew getExecTypNewFieldValue () const
 
ExecTypRej getExecTypRejFieldValue () const
 
ExecTypStatus getExecTypStatusFieldValue () const
 
MessageField getField () const
 
template<class T >
T * getGroupFieldValue () const
 
const groupSizeEncodinggetgroupSizeEncodingFieldValue () const
 
const groupSizegetgroupSizeFieldValue () const
 
const AsciiString getHMACVersionFieldValue () const
 
Int32 getInt32FieldValue () const
 
Int32NULL getInt32NULLFieldValue () const
 
LegSecIDSource getLegSecIDSourceFieldValue () const
 
LocalMktDate getLocalMktDateFieldValue () const
 
MassAction getMassActionFieldValue () const
 
const MaturityMonthYeargetMaturityMonthYearFieldValue () const
 
const messageHeadergetmessageHeaderFieldValue () const
 
ModifyStatus getModifyStatusFieldValue () const
 
NoPtyUpd getNoPtyUpdFieldValue () const
 
OrdStatusCxl getOrdStatusCxlFieldValue () const
 
OrdStatusCxlRej getOrdStatusCxlRejFieldValue () const
 
OrdStatusCxrRej getOrdStatusCxrRejFieldValue () const
 
OrdStatusExp getOrdStatusExpFieldValue () const
 
OrdStatusNew getOrdStatusNewFieldValue () const
 
OrdStatusPendCxl getOrdStatusPendCxlFieldValue () const
 
OrdStatusRej getOrdStatusRejFieldValue () const
 
PartyIDSource getPartyIDSourceFieldValue () const
 
PendModStatus getPendModStatusFieldValue () const
 
const PRICE9getPRICE9FieldValue () const
 
const PRICENULL9getPRICENULL9FieldValue () const
 
SecurityIDSource getSecurityIDSourceFieldValue () const
 
SecurityReqType getSecurityReqTypeFieldValue () const
 
const AsciiString getString10ReqFieldValue () const
 
const AsciiString getString17FieldValue () const
 
const AsciiString getString20FieldValue () const
 
const AsciiString getString20ReqFieldValue () const
 
const AsciiString getString256FieldValue () const
 
const AsciiString getString2FieldValue () const
 
const AsciiString getString30FieldValue () const
 
const AsciiString getString30ReqFieldValue () const
 
const AsciiString getString32ReqFieldValue () const
 
const AsciiString getString3FieldValue () const
 
const AsciiString getString3ReqFieldValue () const
 
const AsciiString getString40FieldValue () const
 
const AsciiString getString48FieldValue () const
 
const AsciiString getString5FieldValue () const
 
const AsciiString getString5ReqFieldValue () const
 
const AsciiString getString75FieldValue () const
 
const AsciiString getString8FieldValue () const
 
const AsciiString getString8ReqFieldValue () const
 
const AsciiString getStringLength35FieldValue () const
 
const AsciiString getStringLength6FieldValue () const
 
virtual size_t getTotalSize () const =0
 
UDI getUDIFieldValue () const
 
uInt16 getuInt16FieldValue () const
 
uInt16NULL getuInt16NULLFieldValue () const
 
uInt32 getuInt32FieldValue () const
 
uInt32NULL getuInt32NULLFieldValue () const
 
uInt64 getuInt64FieldValue () const
 
uInt64NULL getuInt64NULLFieldValue () const
 
uInt8 getuInt8FieldValue () const
 
uInt8NULL getuInt8NULLFieldValue () const
 
bool next ()
 
bool next (int fieldId)
 
virtual std::ostream & toStream (std::ostream &os) const =0
 
virtual ~CommonFieldsIterator ()
 

Protected Member Functions

bool gotToTheEnd ()
 
virtual void iterateOverOptFields ()=0
 
virtual bool moveToNext ()=0
 
bool processBitField ()
 

Protected Attributes

u32curBitField_
 
unsigned int curBitFieldBitsNum_
 
unsigned int curBitFieldIndex_
 
u32 curBitFieldValue_
 
void * curBuffer
 
size_t curFieldIndex_
 
void * curOrigBitField_
 
FieldValueType curOrigBitFieldValueType_
 
const FieldDescriptorfields_
 
size_t fieldsCount_
 
bool initialized_
 
void * startBuffer
 

Constructor & Destructor Documentation

ILink3V7::CommonFieldsIterator::CommonFieldsIterator ( const void *  buffer,
const size_t  fieldsCount,
const FieldDescriptor fields 
)
inline
virtual ILink3V7::CommonFieldsIterator::~CommonFieldsIterator ( )
inlinevirtual

Member Function Documentation

CHAR ILink3V7::CommonFieldsIterator::getCHARFieldValue ( ) const
inline
charNULL ILink3V7::CommonFieldsIterator::getcharNULLFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getClientFlowTypeFieldValue ( ) const
inline
CrossOrderType ILink3V7::CommonFieldsIterator::getCrossOrderTypeFieldValue ( ) const
inline
CrossPrioritization ILink3V7::CommonFieldsIterator::getCrossPrioritizationFieldValue ( ) const
inline
CrossType ILink3V7::CommonFieldsIterator::getCrossTypeFieldValue ( ) const
inline
CxlRejRsp ILink3V7::CommonFieldsIterator::getCxlRejRspFieldValue ( ) const
inline
CxrRejRsp ILink3V7::CommonFieldsIterator::getCxrRejRspFieldValue ( ) const
inline
const DATA& ILink3V7::CommonFieldsIterator::getDATAFieldValue ( ) const
inline
const Decimal32NULL& ILink3V7::CommonFieldsIterator::getDecimal32NULLFieldValue ( ) const
inline
const Decimal64NULL& ILink3V7::CommonFieldsIterator::getDecimal64NULLFieldValue ( ) const
inline
enumNULL ILink3V7::CommonFieldsIterator::getenumNULLFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getExchFlowTypFieldValue ( ) const
inline
ExecTypeCxl ILink3V7::CommonFieldsIterator::getExecTypeCxlFieldValue ( ) const
inline
ExecTypeExp ILink3V7::CommonFieldsIterator::getExecTypeExpFieldValue ( ) const
inline
ExecTypeModify ILink3V7::CommonFieldsIterator::getExecTypeModifyFieldValue ( ) const
inline
ExecTypePendCxl ILink3V7::CommonFieldsIterator::getExecTypePendCxlFieldValue ( ) const
inline
ExecTypePendModify ILink3V7::CommonFieldsIterator::getExecTypePendModifyFieldValue ( ) const
inline
ExecTypeTrade ILink3V7::CommonFieldsIterator::getExecTypeTradeFieldValue ( ) const
inline
ExecTypNew ILink3V7::CommonFieldsIterator::getExecTypNewFieldValue ( ) const
inline
ExecTypRej ILink3V7::CommonFieldsIterator::getExecTypRejFieldValue ( ) const
inline
ExecTypStatus ILink3V7::CommonFieldsIterator::getExecTypStatusFieldValue ( ) const
inline
MessageField ILink3V7::CommonFieldsIterator::getField ( ) const
inline
template<class T >
T* ILink3V7::CommonFieldsIterator::getGroupFieldValue ( ) const
inline

References ILink3V7::isGroupValueType().

Referenced by ILink3V7::OrderMassActionReport562::getNoAffectedOrders(), ILink3V7::ExecutionReportTradeAddendumOutright548::getNoFills(), ILink3V7::ExecutionReportTradeAddendumSpread549::getNoFills(), ILink3V7::ExecutionReportTradeAddendumSpreadLeg550::getNoFills(), ILink3V7::ExecutionReportTradeOutright525::getNoFills(), ILink3V7::ExecutionReportTradeSpread526::getNoFills(), ILink3V7::ExecutionReportTradeSpreadLeg527::getNoFills(), ILink3V7::ExecutionReportTradeAddendumSpread549::getNoLegs(), ILink3V7::ExecutionReportTradeSpread526::getNoLegs(), ILink3V7::SecurityDefinitionRequest560::getNoLegs(), ILink3V7::SecurityDefinitionResponse561::getNoLegs(), ILink3V7::ExecutionReportTradeAddendumOutright548::getNoOrderEvents(), ILink3V7::ExecutionReportTradeAddendumSpread549::getNoOrderEvents(), ILink3V7::ExecutionReportTradeAddendumSpreadLeg550::getNoOrderEvents(), ILink3V7::ExecutionReportTradeOutright525::getNoOrderEvents(), ILink3V7::ExecutionReportTradeSpread526::getNoOrderEvents(), ILink3V7::ExecutionReportTradeSpreadLeg527::getNoOrderEvents(), ILink3V7::PartyDetailsDefinitionRequest518::getNoPartyDetails(), ILink3V7::PartyDetailsDefinitionRequestAck519::getNoPartyDetails(), ILink3V7::PartyDetailsListReport538::getNoPartyDetails(), ILink3V7::PartyDetailsListRequest537::getNoPartyIDs(), ILink3V7::MassQuote517::getNoQuoteEntries(), ILink3V7::MassQuoteAck545::getNoQuoteEntries(), ILink3V7::QuoteCancel528::getNoQuoteEntries(), ILink3V7::QuoteCancelAck563::getNoQuoteEntries(), ILink3V7::QuoteCancel528::getNoQuoteSets(), ILink3V7::QuoteCancelAck563::getNoQuoteSets(), ILink3V7::RequestForQuote543::getNoRelatedSym(), ILink3V7::PartyDetailsListRequest537::getNoRequestingPartyIDs(), ILink3V7::NewOrderCross544::getNoSides(), ILink3V7::PartyDetailsDefinitionRequest518::getNoTrdRegPublications(), ILink3V7::PartyDetailsDefinitionRequestAck519::getNoTrdRegPublications(), and ILink3V7::PartyDetailsListReport538::getNoTrdRegPublications().

const groupSizeEncoding& ILink3V7::CommonFieldsIterator::getgroupSizeEncodingFieldValue ( ) const
inline
const groupSize& ILink3V7::CommonFieldsIterator::getgroupSizeFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getHMACVersionFieldValue ( ) const
inline
Int32 ILink3V7::CommonFieldsIterator::getInt32FieldValue ( ) const
inline
Int32NULL ILink3V7::CommonFieldsIterator::getInt32NULLFieldValue ( ) const
inline
LegSecIDSource ILink3V7::CommonFieldsIterator::getLegSecIDSourceFieldValue ( ) const
inline
LocalMktDate ILink3V7::CommonFieldsIterator::getLocalMktDateFieldValue ( ) const
inline
MassAction ILink3V7::CommonFieldsIterator::getMassActionFieldValue ( ) const
inline
const MaturityMonthYear& ILink3V7::CommonFieldsIterator::getMaturityMonthYearFieldValue ( ) const
inline
const messageHeader& ILink3V7::CommonFieldsIterator::getmessageHeaderFieldValue ( ) const
inline
ModifyStatus ILink3V7::CommonFieldsIterator::getModifyStatusFieldValue ( ) const
inline
NoPtyUpd ILink3V7::CommonFieldsIterator::getNoPtyUpdFieldValue ( ) const
inline
OrdStatusCxl ILink3V7::CommonFieldsIterator::getOrdStatusCxlFieldValue ( ) const
inline
OrdStatusCxlRej ILink3V7::CommonFieldsIterator::getOrdStatusCxlRejFieldValue ( ) const
inline
OrdStatusCxrRej ILink3V7::CommonFieldsIterator::getOrdStatusCxrRejFieldValue ( ) const
inline
OrdStatusExp ILink3V7::CommonFieldsIterator::getOrdStatusExpFieldValue ( ) const
inline
OrdStatusNew ILink3V7::CommonFieldsIterator::getOrdStatusNewFieldValue ( ) const
inline
OrdStatusPendCxl ILink3V7::CommonFieldsIterator::getOrdStatusPendCxlFieldValue ( ) const
inline
OrdStatusRej ILink3V7::CommonFieldsIterator::getOrdStatusRejFieldValue ( ) const
inline
PartyIDSource ILink3V7::CommonFieldsIterator::getPartyIDSourceFieldValue ( ) const
inline
PendModStatus ILink3V7::CommonFieldsIterator::getPendModStatusFieldValue ( ) const
inline
const PRICE9& ILink3V7::CommonFieldsIterator::getPRICE9FieldValue ( ) const
inline
const PRICENULL9& ILink3V7::CommonFieldsIterator::getPRICENULL9FieldValue ( ) const
inline
SecurityIDSource ILink3V7::CommonFieldsIterator::getSecurityIDSourceFieldValue ( ) const
inline
SecurityReqType ILink3V7::CommonFieldsIterator::getSecurityReqTypeFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString10ReqFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString17FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString20FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString20ReqFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString256FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString2FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString30FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString30ReqFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString32ReqFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString3FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString3ReqFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString40FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString48FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString5FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString5ReqFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString75FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString8FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getString8ReqFieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getStringLength35FieldValue ( ) const
inline
const AsciiString ILink3V7::CommonFieldsIterator::getStringLength6FieldValue ( ) const
inline
virtual size_t ILink3V7::CommonFieldsIterator::getTotalSize ( ) const
pure virtual
UDI ILink3V7::CommonFieldsIterator::getUDIFieldValue ( ) const
inline
uInt16 ILink3V7::CommonFieldsIterator::getuInt16FieldValue ( ) const
inline
uInt16NULL ILink3V7::CommonFieldsIterator::getuInt16NULLFieldValue ( ) const
inline
uInt32 ILink3V7::CommonFieldsIterator::getuInt32FieldValue ( ) const
inline
uInt32NULL ILink3V7::CommonFieldsIterator::getuInt32NULLFieldValue ( ) const
inline
uInt64 ILink3V7::CommonFieldsIterator::getuInt64FieldValue ( ) const
inline
uInt64NULL ILink3V7::CommonFieldsIterator::getuInt64NULLFieldValue ( ) const
inline
uInt8 ILink3V7::CommonFieldsIterator::getuInt8FieldValue ( ) const
inline
uInt8NULL ILink3V7::CommonFieldsIterator::getuInt8NULLFieldValue ( ) const
inline
bool ILink3V7::CommonFieldsIterator::gotToTheEnd ( )
inlineprotected
virtual void ILink3V7::CommonFieldsIterator::iterateOverOptFields ( )
protectedpure virtual
virtual bool ILink3V7::CommonFieldsIterator::moveToNext ( )
protectedpure virtual
bool ILink3V7::CommonFieldsIterator::next ( )
inline

Referenced by ILink3V7::binToFix(), ILink3V7::fieldToFix(), ILink3V7::fixToBin(), ILink3V7::fixToField(), ILink3V7::OrderMassActionReport562::getNoAffectedOrders(), ILink3V7::ExecutionReportTradeAddendumOutright548::getNoFills(), ILink3V7::ExecutionReportTradeAddendumSpread549::getNoFills(), ILink3V7::ExecutionReportTradeAddendumSpreadLeg550::getNoFills(), ILink3V7::ExecutionReportTradeOutright525::getNoFills(), ILink3V7::ExecutionReportTradeSpread526::getNoFills(), ILink3V7::ExecutionReportTradeSpreadLeg527::getNoFills(), ILink3V7::ExecutionReportTradeAddendumSpread549::getNoLegs(), ILink3V7::ExecutionReportTradeSpread526::getNoLegs(), ILink3V7::SecurityDefinitionRequest560::getNoLegs(), ILink3V7::SecurityDefinitionResponse561::getNoLegs(), ILink3V7::ExecutionReportTradeAddendumOutright548::getNoOrderEvents(), ILink3V7::ExecutionReportTradeAddendumSpread549::getNoOrderEvents(), ILink3V7::ExecutionReportTradeAddendumSpreadLeg550::getNoOrderEvents(), ILink3V7::ExecutionReportTradeOutright525::getNoOrderEvents(), ILink3V7::ExecutionReportTradeSpread526::getNoOrderEvents(), ILink3V7::ExecutionReportTradeSpreadLeg527::getNoOrderEvents(), ILink3V7::PartyDetailsDefinitionRequest518::getNoPartyDetails(), ILink3V7::PartyDetailsDefinitionRequestAck519::getNoPartyDetails(), ILink3V7::PartyDetailsListReport538::getNoPartyDetails(), ILink3V7::PartyDetailsListRequest537::getNoPartyIDs(), ILink3V7::MassQuote517::getNoQuoteEntries(), ILink3V7::MassQuoteAck545::getNoQuoteEntries(), ILink3V7::QuoteCancel528::getNoQuoteEntries(), ILink3V7::QuoteCancelAck563::getNoQuoteEntries(), ILink3V7::QuoteCancel528::getNoQuoteSets(), ILink3V7::QuoteCancelAck563::getNoQuoteSets(), ILink3V7::RequestForQuote543::getNoRelatedSym(), ILink3V7::PartyDetailsListRequest537::getNoRequestingPartyIDs(), ILink3V7::NewOrderCross544::getNoSides(), ILink3V7::PartyDetailsDefinitionRequest518::getNoTrdRegPublications(), ILink3V7::PartyDetailsDefinitionRequestAck519::getNoTrdRegPublications(), ILink3V7::PartyDetailsListReport538::getNoTrdRegPublications(), ILink3V7::FieldsIterator::getTotalSize(), ILink3V7::FieldsSetIterator::getTotalSize(), ILink3V7::FieldsIterator::toStream(), and ILink3V7::FieldsSetIterator::toStream().

bool ILink3V7::CommonFieldsIterator::next ( int  fieldId)
inline
bool ILink3V7::CommonFieldsIterator::processBitField ( )
inlineprotected
virtual std::ostream& ILink3V7::CommonFieldsIterator::toStream ( std::ostream &  os) const
pure virtual

Member Data Documentation

u32* ILink3V7::CommonFieldsIterator::curBitField_
protected
unsigned int ILink3V7::CommonFieldsIterator::curBitFieldBitsNum_
protected
unsigned int ILink3V7::CommonFieldsIterator::curBitFieldIndex_
protected
u32 ILink3V7::CommonFieldsIterator::curBitFieldValue_
protected
void* ILink3V7::CommonFieldsIterator::curBuffer
protected
size_t ILink3V7::CommonFieldsIterator::curFieldIndex_
protected
void* ILink3V7::CommonFieldsIterator::curOrigBitField_
protected
FieldValueType ILink3V7::CommonFieldsIterator::curOrigBitFieldValueType_
protected
const FieldDescriptor* ILink3V7::CommonFieldsIterator::fields_
protected
size_t ILink3V7::CommonFieldsIterator::fieldsCount_
protected
bool ILink3V7::CommonFieldsIterator::initialized_
protected
void* ILink3V7::CommonFieldsIterator::startBuffer
protected