48 lines
1.4 KiB
C++
48 lines
1.4 KiB
C++
/*
|
|
* Copyright Onix Solutions Limited [OnixS]. All rights reserved.
|
|
*
|
|
* This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
|
|
* and international copyright treaties.
|
|
*
|
|
* Access to and use of the software is governed by the terms of the applicable OnixS Software
|
|
* Services Agreement (the Agreement) and Customer end user license agreements granting
|
|
* a non-assignable, non-transferable and non-exclusive license to use the software
|
|
* for it's own data processing purposes under the terms defined in the Agreement.
|
|
*
|
|
* Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
|
|
* of this source code or associated reference material to any other location for further reproduction
|
|
* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
|
|
*
|
|
* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
|
|
* the terms of the Agreement is a violation of copyright law.
|
|
*/
|
|
|
|
#include <OnixS/FIXEngine/ABI.h>
|
|
|
|
#pragma once
|
|
|
|
namespace OnixS {
|
|
namespace FIX {
|
|
|
|
/// The FIX Protocol version.
|
|
struct ProtocolVersion {
|
|
enum Enum {
|
|
UNKNOWN = 0,
|
|
FIX_40 = 1,
|
|
FIX_41 = 2,
|
|
FIX_42 = 3,
|
|
FIX_43 = 4,
|
|
FIX_44 = 5,
|
|
FIX_50 = 6,
|
|
FIX_50_SP1 = 7,
|
|
FIX_50_SP2 = 8
|
|
};
|
|
|
|
ONIXS_FIXENGINE_API
|
|
static
|
|
const char *
|
|
toString(Enum version);
|
|
};
|
|
}
|
|
}
|