Re: [Quickfix-developers] weird code
Brought to you by:
orenmnero
From: Shane T. <str...@co...> - 2008-03-05 22:21:41
|
Also notice that you should be getting the number of groups in the same way: QuickFix.NoMDEntries noMDentries = new QuickFix.NoMDEntries(); message.get(noMDentries); // From message, get NoMDEntries. for (int i = 1; i < noMDentries.getValue(); i++) { message.getGroup(i, group); group.get(mdEntryPx); group.get(mdEntryType); // Handle mdEntryPx and mdEntryType here. } On 3/5/08, azmat <mr...@gm...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > thanks. But the confusing part of the code is that getGroup returns a Group > BUT I am not placing it in any object, but it still compiles. It looks like > a line of code that wouldn't do anything...like: > > "string".ToString(); > > > mdsfr.getGroup(i, mdGroup) //what does this line do?? > > > > Any suggestions? > It's really blowing my mind. > > thanks! > azmat > > > > Hozaifa Akber Ali wrote: > > > > > > Azmat, > > > > The line ur asking is getting the group of data number of times coming in > > a response. this group contains tag 269, 270 and some more. tag 268 > > (NoMDEntries) is the number of times. Code is correct just start the loop > > from 1 not zero. > > > > Regards > > Hozaifa Akber Ali > > > > > > > > > -- > View this message in context: http://www.nabble.com/weird-code-tp15836751p15861131.html > > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > -- Shane Trotter Connamara Systems, LLC |