Ice 3.7 C++11 API Reference
Config.h
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 
5 #ifndef ICE_CONFIG_H
6 #define ICE_CONFIG_H
7 
8 #include <IceUtil/Config.h>
9 
10 //
11 // Some include files we need almost everywhere
12 //
13 #include <cerrno>
14 #include <cstdio>
15 #include <cstring>
16 #include <string>
17 #include <vector>
18 #include <map>
19 
20 #if defined(_WIN32)
21 # include <process.h>
22 #else
23 # include <sys/types.h>
24 # include <cstddef>
25 #endif
26 
27 #ifdef ICE_SWIFT
28 # include <dispatch/dispatch.h>
29 #endif
30 
31 //
32 // Define the Ice and IceInternal namespace, so that we can use the following
33 // everywhere in our code:
34 //
35 // using namespace Ice;
36 // using namespace IceInternal;
37 //
38 namespace Ice
39 {
40 }
41 
42 namespace IceInternal
43 {
44 }
45 
46 namespace Ice
47 {
48 
50 typedef unsigned char Byte;
52 typedef short Short;
54 typedef int Int;
55 #ifdef ICE_CPP11_MAPPING
56 
57 typedef long long int Long;
58 #else
59 
60 typedef IceUtil::Int64 Long;
61 #endif
62 
63 typedef float Float;
65 typedef double Double;
66 
67 }
68 
69 namespace IceInternal
70 {
71 
72 ICE_API int getSystemErrno();
73 
74 }
75 
76 #endif
Ice::Short
short Short
The mapping for the Slice short type.
Definition: Config.h:52
Ice::Double
double Double
The mapping for the Slice double type.
Definition: Config.h:65
Ice::Float
float Float
The mapping for the Slice float type.
Definition: Config.h:63
ICE_API
#define ICE_API
Definition: Config.h:197
Ice::Byte
unsigned char Byte
The mapping for the Slice byte type.
Definition: Config.h:50
Config.h
Ice::Long
long long int Long
The mapping for the Slice long type.
Definition: Config.h:57
Ice
Definition: BuiltinSequences.h:56
IceUtil::Int64
long long Int64
Definition: Config.h:342
Ice::Int
int Int
The mapping for the Slice int type.
Definition: Config.h:54