How to generate message classes from a new custom FIX dictionary
1 answer
I have never tried this myself, but if you download the source you will find a file generate.sh
inside the "spec" directory that contains the following:
./generate_c++.sh
./generate_net.sh
ruby Generator.rb
The first script just calls a bunch of commands xsltproc
to generate values and message dispatch logic (aka cracker). But most generations are done using a Generator.rb
script (the main logic for C ++ is in GeneratorCPP.rb
). So you need to modify the existing XML spec file, for example FIX42.xml
, start the generator and generate the source code.
+1
user405725
source
to share