Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Generate decorator files for your set of dictionaries, as described in tools/decorator-generator/readme.txt;
    In examples below it is assumed that Decorator for standard FIX.4.4 is used and it's generated sources are placed to 'generated' folder,
    using following command: b2b_fix_msgs_generator2.exe -s FIX44 -a FIX44 -o ../generated -f ../../../data/fixdic44.xml
    Image Added
    Image Added
  2. Either add files from generated/src and generated/headers folders to your project, or build shared/static library from them;
    1. Optional. Add a folder for your convenience.
      Image Added

    2. Add generated files to project:
      Image Added
      Image Added


    3. Add path to generated headers as additional include directory:
      Image Added
      Image Added
      Image Added

    4. Add regular FIX Antenna library as dependency:
      Image Added
      Image Added


    5. Add preprocessor definitions:
      1. In case you are incorporating decorator sources in your application or static library, or if you are using decorator static library in your application, please add V12_DECORATOR_IMPL preprocessor definition.
      2. In case you are building shared library from decorator sources please add V12_DECORATOR_EXPORTS.
      3. In case you are building application with use of shared library from case ii - you need no additional definitions.
      Image Added
  3. In your code add following includes:

    #include <FixMessages/FIX44/AllMessages.h>
    #include <FixMessages/FIX44/Tags.h>
    #include <FixMessages/FIX44/Enums.h>
    Image Added

  4. Done! Now you can find FIX.4.4 Decorator API under FixMessages::FIX44 namespace.

...