[Quickfix-developers] Field name to number conversion
Brought to you by:
orenmnero
From: George H. <ge...@so...> - 2008-08-14 21:35:35
|
Hello everyone, During runtime I want to read a file, with field names, and when a deal comes in, just print to screen the fields I am interested in (for starters). However, I see that the field names are enum'ed from file: FieldNumbers.h How do I generate a field number from a string? Is there a built-in way of doing this or do I have to (somehow) keep a copy of "FieldNumbers.h" in my executable? Or, worst case, keep the fields I am interested in as numbers in the setup file? This is not at all user friendly and I would like to avoid that. -G |