[Quickfix-developers] add key-value record into Dictionary class
Brought to you by:
orenmnero
From: Mikhail Y. <mik...@fx...> - 2010-06-07 16:19:13
|
Hello, everybody. I got stuck on an easy task. What I want to do is just to add a single key-value pair to my FIX::Dictionary class. SessionSettings::get() method could return me the Dictionary, but the problem is that is returns const value, which doesn’t allow me to modify the Dictionary class. The only approach I see now (the horrible one) is, because it is possible to set new Dictionary in SessionSettions class SessionSettings::set(). Is to create an empty Dictionary, copy all records from the current one ( SessionSettings::get() ) and then set the new ( SessionSettings::set() ). More likely I just missed some API. Thank you. add key-value record into Dictionary class |