Is there a MessageCodeGenerator for C ++ quickfix?

QuickfixJ has a way to automatically generate custom messages and custom field objects using a custom data dictionary and launching their MessageCodeGenerator task.

http://www.quickfixj.org/quickfixj/usermanual/1.5.1/usage/codegen.html

Now I have to use the original quickfix (C ++) for the new project I'm working on, and I was wondering if something like that exists for C ++.

Alternatively (if nothing already exists) did anyone try to use Java-based Java MessageCodeGenerator and change the default java xslt templates to just spit out C ++ files?

In addition, if I’m all completely mistaken, don’t hesitate to just tell me the correct way to use C ++ quickfix, because their site is a little "lit up" with user examples (it has only a defs macro for fields .. I did not see anything about messages)

Thank!

+3
source share
1 answer

QuickFIX anticipates messages and includes them in the distribution. Therefore, code generation is not part of the build process. However, you can restore the code using scripts in a subdirectory spec. The generator is implemented using a combination of XSLT, shell scripts, and Ruby code.

Run

ruby Generate.rb

to generate a message and field code, then

generate_c++.sh or generate_c++.bat

to create MessageCracker classes.

FIX *.xml Makefile , .

+3

All Articles