OnixS Eurex ETI Handler C++ library 9.25.0
API documentation
Loading...
Searching...
No Matches
Defines.h
Go to the documentation of this file.
1/*
2 * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3 *
4 * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5 * and international copyright treaties.
6 *
7 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
8 * Services Agreement (the Agreement) and Customer end user license agreements granting
9 * a non-assignable, non-transferable and non-exclusive license to use the software
10 * for it's own data processing purposes under the terms defined in the Agreement.
11 *
12 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any
13 * part of this source code or associated reference material to any other location for further
14 * reproduction or redistribution, and any amendments to this copyright notice, are expressly
15 * prohibited.
16 *
17 * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
18 * the terms of the Agreement is a violation of copyright law.
19 */
20
21#pragma once
22
23#include "OnixS/Eurex/Trading/Export.h"
24
25#include <vector>
26
27namespace OnixS { namespace Eurex { namespace Trading {
28
29#ifdef WIN32
30typedef __int8 SInt8;
31typedef __int16 SInt16;
32typedef __int32 SInt32;
33typedef __int64 SInt64;
34typedef unsigned __int8 UInt8;
35typedef unsigned __int16 UInt16;
36typedef unsigned __int32 UInt32;
37typedef unsigned __int64 UInt64;
38#else
39typedef signed char SInt8;
40typedef signed short SInt16;
41typedef signed int SInt32;
42typedef signed long long SInt64;
43typedef unsigned char UInt8;
44typedef unsigned short UInt16;
45typedef unsigned int UInt32;
46typedef unsigned long long UInt64;
47#endif
48
49const SInt64 SInt64NoValue = ((SInt64)0x8000000000000000LL);
50const UInt64 UInt64NoValue = ((UInt64)0xffffffffffffffffULL);
51const SInt32 SInt32NoValue = ((SInt32)0x80000000);
52const UInt32 UInt32NoValue = ((UInt32)0xffffffff);
53const SInt16 SInt16NoValue = ((SInt16)0x8000);
54const UInt16 UInt16NoValue = ((UInt16)0xffff);
55const SInt8 SInt8NoValue = ((SInt8)0x80);
56const UInt8 UInt8NoValue = ((UInt8)0xff);
57
58// Alias for "Data" type.
59typedef std::vector<UInt8> Data;
60
61}}} // namespace OnixS::Eurex::Trading
signed int SInt32
Definition Defines.h:41
const UInt64 UInt64NoValue
Definition Defines.h:50
unsigned int UInt32
Definition Defines.h:45
std::vector< UInt8 > Data
Definition Defines.h:59
const SInt64 SInt64NoValue
Definition Defines.h:49
const UInt16 UInt16NoValue
Definition Defines.h:54
const SInt16 SInt16NoValue
Definition Defines.h:53
signed short SInt16
Definition Defines.h:40
unsigned char UInt8
Definition Defines.h:43
signed long long SInt64
Definition Defines.h:42
unsigned long long UInt64
Definition Defines.h:46
const SInt32 SInt32NoValue
Definition Defines.h:51
unsigned short UInt16
Definition Defines.h:44
const UInt32 UInt32NoValue
Definition Defines.h:52
const SInt8 SInt8NoValue
Definition Defines.h:55
signed char SInt8
Definition Defines.h:39
const UInt8 UInt8NoValue
Definition Defines.h:56