All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Types.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_UTIL_TYPES_H_
23 #define _BLAZE_UTIL_TYPES_H_
24 
25 
26 //*************************************************************************************************
27 // Includes
28 //*************************************************************************************************
29 
30 #include <cstddef>
31 #include <boost/cstdint.hpp>
32 
33 
34 namespace blaze {
35 
36 //=================================================================================================
37 //
38 // TYPE DEFINITIONS
39 //
40 //=================================================================================================
41 
42 //*************************************************************************************************
47 using std::size_t;
48 //*************************************************************************************************
49 
50 
51 //*************************************************************************************************
56 using std::ptrdiff_t;
57 //*************************************************************************************************
58 
59 
60 //*************************************************************************************************
65 using boost::int8_t;
66 //*************************************************************************************************
67 
68 
69 //*************************************************************************************************
74 using boost::uint8_t;
75 //*************************************************************************************************
76 
77 
78 //*************************************************************************************************
83 using boost::int16_t;
84 //*************************************************************************************************
85 
86 
87 //*************************************************************************************************
92 using boost::uint16_t;
93 //*************************************************************************************************
94 
95 
96 //*************************************************************************************************
101 using boost::int32_t;
102 //*************************************************************************************************
103 
104 
105 //*************************************************************************************************
110 using boost::uint32_t;
111 //*************************************************************************************************
112 
113 
114 //*************************************************************************************************
119 #ifndef BOOST_NO_INT64_T
120 using boost::int64_t;
121 #endif
122 //*************************************************************************************************
123 
124 
125 //*************************************************************************************************
130 #ifndef BOOST_NO_INT64_T
131 using boost::uint64_t;
132 #endif
133 //*************************************************************************************************
134 
135 
136 //*************************************************************************************************
140 #ifndef BOOST_NO_INT64_T
141 typedef int64_t large_t;
142 #else
143 typedef int32_t large_t;
144 #endif
145 //*************************************************************************************************
146 
147 
148 //*************************************************************************************************
152 #ifndef BOOST_NO_INT64_T
154 #else
155 typedef uint32_t ularge_t;
156 #endif
157 //*************************************************************************************************
158 
159 
160 //*************************************************************************************************
164 typedef ularge_t id_t;
165 //*************************************************************************************************
166 
167 } // namespace blaze
168 
169 #endif