Ice 3.7 C++11 API Reference
Loading...
Searching...
No Matches
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//
38namespace Ice
39{
40}
41
42namespace IceInternal
43{
44}
45
46namespace Ice
47{
48
50typedef unsigned char Byte;
52typedef short Short;
54typedef int Int;
55#ifdef ICE_CPP11_MAPPING
57typedef long long int Long;
58#else
60typedef IceUtil::Int64 Long;
61#endif
63typedef float Float;
65typedef double Double;
66
67}
68
69namespace IceInternal
70{
71
72ICE_API int getSystemErrno();
73
74}
75
76#endif
#define ICE_API
Definition Config.h:197
long long Int64
Definition Config.h:342
Definition BuiltinSequences.h:56
int Int
The mapping for the Slice int type.
Definition Config.h:54
float Float
The mapping for the Slice float type.
Definition Config.h:63
long long int Long
The mapping for the Slice long type.
Definition Config.h:57
double Double
The mapping for the Slice double type.
Definition Config.h:65
short Short
The mapping for the Slice short type.
Definition Config.h:52
unsigned char Byte
The mapping for the Slice byte type.
Definition Config.h:50