As the FIX protocol evolves, new versions will be released to you to extend the current functionality. The OnixS C++ FIX Engine currently supports the following FIX versions: FIX 4.0, FIX 4.1, FIX 4.2, FIX 4.3, FIX 4.4, FIX 5.0, FIX 5.0 SP1, and FIX 5.0 SP2.
OnixS::FIX::Version enum is used to identify particular version of the FIX protocol in the OnixS C++ FIX Engine.
Version currentFixVersion = FIX_42;
To simplify development as well as to increase code readability, the OnixS C++ FIX Engine exposes separate namespaces for each version of the FIX protocol. Each such namespace contains objects and definitions that are unique for the particular version.
using namespace OnixS::FIX::FIX42;