[Quickfix-developers] Is a field in header or body? - at runtime
Brought to you by:
orenmnero
From: Alex M. <ale...@ya...> - 2008-07-25 11:44:50
|
Given a FIX field ID, is there a way I can lookup at runtime whether it is a header field or body field? I'm using QuickFix.Message (non version specific) pretty much throughout my test code. i.e. I have a method like: void PopulateField(int id, string value) { if(<field id is a header field>) this.getHeader().setField(id, value); else this.fixMsg.setField(id, value); } I'm looking for something to put in the <field id is a header field> block!Rgds, Alexandros __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html |