我下載QuickFix.dll從quickfixengine.org獲取QuickFix :: Field :: OrdType的值?
當我聲明屬於命名空間的QuickFix ::字段的對象,我不能得到其相應的鹼值(i意味着OrdType char值,對於訂單ID等字符串值) 。因爲沒有與它們相關的屬性。
有沒有其他辦法可以達到同樣的效果?
的代碼是:
......
QuickField::Fields::OrdType ordType;
message.Get(OrdType);//message is a NewOrderSingle
//type object defined prevviously in the code
//Now i wish to get the value contained in "ordType" but it has no
//properties to access its data member(s)
你能給出你想要做什麼更明確的解釋嗎?也許你可以提供你正在嘗試的代碼片段。 –
請停止標記此「tcp」。這不是一個TCP問題。真的,唯一適合的標籤是「quickfix」。 –