CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
typedefs.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_typedefs_h
2 #define FWCore_Utilities_typedefs_h
3 
4 // typedefs to provide platform independent types for members of ROOT persistent classes.
5 // To support class versioning for schema evolution, the typedef must resolve
6 // to the same built-in C++ type on all supported platforms.
7 // int64_t, uint64_t cannot be used, because they resolve to long on some platforms and long long on others.
8 // For consistency, we don't use int32_t, uint32_t, int16_t, uint16_t, int8_t or uint8_t, either.
9 
10 typedef signed char cms_int8_t;
11 typedef unsigned char cms_uint8_t;
12 typedef short cms_int16_t;
13 typedef unsigned short cms_uint16_t;
14 typedef int cms_int32_t;
15 typedef unsigned int cms_uint32_t;
16 typedef long long cms_int64_t;
17 typedef unsigned long long cms_uint64_t;
18 
19 #endif
short cms_int16_t
Definition: typedefs.h:12
int cms_int32_t
Definition: typedefs.h:14
unsigned char cms_uint8_t
Definition: typedefs.h:11
unsigned short cms_uint16_t
Definition: typedefs.h:13
unsigned int cms_uint32_t
Definition: typedefs.h:15
signed char cms_int8_t
Definition: typedefs.h:10
long long cms_int64_t
Definition: typedefs.h:16
unsigned long long cms_uint64_t
Definition: typedefs.h:17