OnixS Eurex ETI Handler C++ library  9.11.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 part
13  * of this source code or associated reference material to any other location for further reproduction
14  * or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15  *
16  * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17  * the terms of the Agreement is a violation of copyright law.
18  */
19 
20 #pragma once
21 
22 #include "OnixS/Eurex/Trading/Export.h"
23 
24 #include <vector>
25 
26 namespace OnixS {
27 namespace Eurex {
28 namespace Trading {
29 
30 #ifdef WIN32
31 typedef __int8 SInt8;
32 typedef __int16 SInt16;
33 typedef __int32 SInt32;
34 typedef __int64 SInt64;
35 typedef unsigned __int8 UInt8;
36 typedef unsigned __int16 UInt16;
37 typedef unsigned __int32 UInt32;
38 typedef unsigned __int64 UInt64;
39 #else
40 typedef signed char SInt8;
41 typedef signed short SInt16;
42 typedef signed int SInt32;
43 typedef signed long long SInt64;
44 typedef unsigned char UInt8;
45 typedef unsigned short UInt16;
46 typedef unsigned int UInt32;
47 typedef unsigned long long UInt64;
48 #endif
49 
50 const SInt64 SInt64NoValue = ( (SInt64) 0x8000000000000000LL);
51 const UInt64 UInt64NoValue = ( (UInt64) 0xffffffffffffffffULL);
52 const SInt32 SInt32NoValue = ( (SInt32) 0x80000000);
53 const UInt32 UInt32NoValue = ( (UInt32) 0xffffffff);
54 const SInt16 SInt16NoValue = ( (SInt16) 0x8000);
55 const UInt16 UInt16NoValue = ( (UInt16) 0xffff);
56 const SInt8 SInt8NoValue = ( (SInt8) 0x80);
57 const UInt8 UInt8NoValue = ( (UInt8) 0xff);
58 
59 // Alias for "Data" type.
60 typedef std::vector<UInt8> Data;
61 
62 }
63 }
64 }
const SInt64 SInt64NoValue
Definition: Defines.h:50
unsigned char UInt8
Definition: Defines.h:44
unsigned long long UInt64
Definition: Defines.h:47
signed int SInt32
Definition: Defines.h:42
const UInt16 UInt16NoValue
Definition: Defines.h:55
const UInt32 UInt32NoValue
Definition: Defines.h:53
std::vector< UInt8 > Data
Definition: Defines.h:60
unsigned int UInt32
Definition: Defines.h:46
signed long long SInt64
Definition: Defines.h:43
signed short SInt16
Definition: Defines.h:41
signed char SInt8
Definition: Defines.h:40
const UInt8 UInt8NoValue
Definition: Defines.h:57
const SInt32 SInt32NoValue
Definition: Defines.h:52
const UInt64 UInt64NoValue
Definition: Defines.h:51
unsigned short UInt16
Definition: Defines.h:45
const SInt8 SInt8NoValue
Definition: Defines.h:56
const SInt16 SInt16NoValue
Definition: Defines.h:54