Main Page
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Go to the documentation of this file.
17 #ifndef __IGTL_TYPES_H
18 #define __IGTL_TYPES_H
20 #include "igtl_typeconfig.h"
23 #if IGTL_SIZEOF_CHAR == 1
24 typedef unsigned char igtl_uint8;
25 typedef char igtl_int8;
27 # error "No native data type can represent an 8-bit integer."
31 #if IGTL_SIZEOF_SHORT == 2
32 typedef unsigned short igtl_uint16;
33 typedef signed short igtl_int16;
34 #elif IGTL_SIZEOF_INT == 2
35 typedef unsigned int igtl_uint16;
36 typedef signed int igtl_int16;
38 # error "No native data type can represent a 16-bit integer."
42 #if IGTL_SIZEOF_INT == 4
43 typedef unsigned int igtl_uint32;
44 typedef signed int igtl_int32;
45 #elif IGTL_SIZEOF_LONG == 4
46 typedef unsigned long igtl_uint32;
47 typedef signed long igtl_int32;
49 # error "No native data type can represent a 32-bit integer."
53 #if defined(IGTL_TYPE_USE_LONG_LONG) && IGTL_SIZEOF_LONG_LONG == 8
54 typedef unsigned long long igtl_uint64;
55 typedef signed long long igtl_int64;
56 #elif IGTL_SIZEOF_INT == 8
57 typedef unsigned int igtl_uint64;
58 typedef signed int igtl_int64;
59 #elif IGTL_SIZEOF_LONG == 8
60 typedef unsigned long igtl_uint64;
61 typedef signed long igtl_int64;
62 #elif defined(IGTL_TYPE_USE___INT64) && IGTL_SIZEOF___INT64 == 8
63 typedef unsigned __int64 igtl_uint64;
64 typedef signed __int64 igtl_int64;
65 #elif defined(IGTL_TYPE_USE_INT64_T) && IGTL_SIZEOF_INT64_T == 8
66 typedef unsigned int64_t igtl_uint64;
67 typedef signed int64_t igtl_int64;
69 # error "No native data type can represent a 64-bit integer."
73 #if IGTL_SIZEOF_FLOAT == 4
74 typedef float igtl_float32;
76 # error "No native data type can represent a 32-bit floating point value."
80 #if IGTL_SIZEOF_DOUBLE == 8
81 typedef double igtl_float64;
83 # error "No native data type can represent a 64-bit floating point value."
Generated at Thu Mar 20 2014 16:32:06 for OpenIGTLink by
1.8.1.2 written by Dimitri van Heesch,
© 1997-2000