EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Common.h
Go to the documentation of this file.
1 /*|-----------------------------------------------------------------------------
2  *| This source code is provided under the Apache 2.0 license --
3  *| and is provided AS IS with no warranty or guarantee of fit for purpose. --
4  *| See the project's LICENSE.md for details. --
5  *| Copyright (C) 2019 Refinitiv. All rights reserved. --
6  *|-----------------------------------------------------------------------------
7  */
8 
9 #ifndef __thomsonreuters_ema_access_Common_h_
10 #define __thomsonreuters_ema_access_Common_h_
11 
17 namespace thomsonreuters {
18 
19 namespace ema {
20 
26 namespace access {
27 
32 typedef unsigned char UInt8;
33 
38 typedef signed char Int8;
39 
44 typedef unsigned short UInt16;
45 
50 typedef short Int16;
51 
56 typedef unsigned int UInt32;
57 
62 typedef int Int32;
63 
68 typedef unsigned long long UInt64;
69 
74 typedef long long Int64;
75 
80 typedef double Double;
81 
82 }
83 
84 }
85 
86 }
87 
88 #if defined( WIN32 ) && !defined( __EMA_STATIC_BUILD__ )
89  #ifdef EMA_LIBRARY_EXPORTS
90  #define EMA_ACCESS_API __declspec(dllexport)
91  #else
92  #define EMA_ACCESS_API __declspec(dllimport)
93  #endif
94 #else
95  #define EMA_ACCESS_API
96 #endif
97 
139 #endif // __thomsonreuters_ema_access_Common_h_
long long Int64
represents 64-bit signed integer
Definition: Common.h:74
unsigned short UInt16
represents 16-bit unsigned integer
Definition: Common.h:44
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
unsigned int UInt32
represents 32-bit unsigned integer
Definition: Common.h:56
int Int32
represents 32-bit signed integer
Definition: Common.h:62
double Double
represents 8-byte floating point value
Definition: Common.h:80
signed char Int8
represents 8-bit signed integer
Definition: Common.h:38
unsigned char UInt8
represents 8-bit unsigned integer
Definition: Common.h:32
short Int16
represents 16-bit signed integer
Definition: Common.h:50