OnixS Eurex ETI Handler C++ library  9.20.0
API documentation
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 
27 namespace OnixS { namespace Eurex { namespace Trading {
28 
29 #ifdef WIN32
30 typedef __int8 SInt8;
31 typedef __int16 SInt16;
32 typedef __int32 SInt32;
33 typedef __int64 SInt64;
34 typedef unsigned __int8 UInt8;
35 typedef unsigned __int16 UInt16;
36 typedef unsigned __int32 UInt32;
37 typedef unsigned __int64 UInt64;
38 #else
39 typedef signed char SInt8;
40 typedef signed short SInt16;
41 typedef signed int SInt32;
42 typedef signed long long SInt64;
43 typedef unsigned char UInt8;
44 typedef unsigned short UInt16;
45 typedef unsigned int UInt32;
46 typedef unsigned long long UInt64;
47 #endif
48 
49 const SInt64 SInt64NoValue = ((SInt64) 0x8000000000000000LL);
50 const UInt64 UInt64NoValue = ((UInt64) 0xffffffffffffffffULL);
51 const SInt32 SInt32NoValue = ((SInt32) 0x80000000);
52 const UInt32 UInt32NoValue = ((UInt32) 0xffffffff);
53 const SInt16 SInt16NoValue = ((SInt16) 0x8000);
54 const UInt16 UInt16NoValue = ((UInt16) 0xffff);
55 const SInt8 SInt8NoValue = ((SInt8) 0x80);
56 const UInt8 UInt8NoValue = ((UInt8) 0xff);
57 
58 // Alias for "Data" type.
59 typedef std::vector<UInt8> Data;
60 
61 }}} // namespace OnixS::Eurex::Trading
const SInt64 SInt64NoValue
Definition: Defines.h:49
unsigned char UInt8
Definition: Defines.h:43
unsigned long long UInt64
Definition: Defines.h:46
signed int SInt32
Definition: Defines.h:41
const UInt16 UInt16NoValue
Definition: Defines.h:54
const UInt32 UInt32NoValue
Definition: Defines.h:52
std::vector< UInt8 > Data
Definition: Defines.h:59
unsigned int UInt32
Definition: Defines.h:45
signed long long SInt64
Definition: Defines.h:42
signed short SInt16
Definition: Defines.h:40
signed char SInt8
Definition: Defines.h:39
const UInt8 UInt8NoValue
Definition: Defines.h:56
const SInt32 SInt32NoValue
Definition: Defines.h:51
const UInt64 UInt64NoValue
Definition: Defines.h:50
unsigned short UInt16
Definition: Defines.h:44
const SInt8 SInt8NoValue
Definition: Defines.h:55
const SInt16 SInt16NoValue
Definition: Defines.h:53