[Quickfix-developers] Message data dictionary initialisation
Brought to you by:
orenmnero
From: Mark L. <Mar...@bt...> - 2003-04-30 13:09:22
|
All, I'm trying to get Message::toXML() to ouput the names of the fields aswell as the field numbers and looking at the code in toXMLFields() it references the static data dictionary Message::s_dataDictionary. When I receive a message I have the message itself and a sessionID. I can get a pointer to my session using Session::lookupSession() but the discreet session data dictionary Session::m_dataDictionary does not have an accessor and it is declared private. It also appears strange to me that each session has it's own data dictionary but the Message class has a statically declared one. It appears possible to have a different data dictionary per session but a Message must only have one. Also, the only method that sets the Message data dictionary is handed a URL and not a pre-constructed data dictionary. Am I pushing the library too far ? Is this just not quite complete yet? I'm basically after outputting the complete message I received into a log file in XML format with the names, numbers, enumerations/values... Thanks Mark. **************************************************************************** This message is confidential to the sender and addressee, and may contain proprietary or legally privileged information. If you are not the intended recipient, please delete it from your system, destroy any copies, and notify the sender immediately. Opinions stated herein are not necessarily those of BrokerTec. BrokerTec reserves the right to monitor messages that pass through it's networks. BrokerTec Europe Ltd is regulated by FSA. |