ITK  5.1.0
Insight Toolkit
itkIntTypes.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkIntTypes_h
19 #define itkIntTypes_h
20 
21 #include "itkMacro.h"
22 
23 #include <cstdint>
24 #include <climits>
25 
26 namespace itk
27 {
28 using int8_t = ::int8_t;
36 
45 
54 
57 
60 
61 
62 #if defined(ITK_USE_64BITS_IDS) && ((ULLONG_MAX != ULONG_MAX) || (LLONG_MAX != LONG_MAX))
63 
66 using SizeValueType = uint64_t;
67 
71 
73 using IndexValueType = int64_t;
74 
77 using OffsetValueType = int64_t;
78 
79 #else
80 
83 using SizeValueType = unsigned long;
84 
88 
90 using IndexValueType = signed long;
91 
94 using OffsetValueType = signed long;
95 
96 #endif
97 
99 using ThreadIdType = unsigned int;
100 
103 
104 } // namespace itk
105 
106 #endif /* itkIntTypes_h */
itk::uint8_t
::uint8_t uint8_t
Definition: itkIntTypes.h:29
itk::uint_fast8_t
::uint_fast8_t uint_fast8_t
Definition: itkIntTypes.h:47
itk::uint_fast16_t
::uint_fast16_t uint_fast16_t
Definition: itkIntTypes.h:49
itk::int16_t
::int16_t int16_t
Definition: itkIntTypes.h:30
itk::ModifiedTimeType
SizeValueType ModifiedTimeType
Definition: itkIntTypes.h:102
itk::int8_t
::int8_t int8_t
Definition: itkIntTypes.h:28
itk::intptr_t
::intptr_t intptr_t
Definition: itkIntTypes.h:58
itk::uint_fast32_t
::uint_fast32_t uint_fast32_t
Definition: itkIntTypes.h:51
itk::int_least8_t
::int_least8_t int_least8_t
Definition: itkIntTypes.h:37
itk::intmax_t
::intmax_t intmax_t
Definition: itkIntTypes.h:55
itk::int_fast8_t
::int_fast8_t int_fast8_t
Definition: itkIntTypes.h:46
itk::int64_t
::int64_t int64_t
Definition: itkIntTypes.h:34
itk::ThreadIdType
unsigned int ThreadIdType
Definition: itkIntTypes.h:99
itk::uint64_t
::uint64_t uint64_t
Definition: itkIntTypes.h:35
itk::uint_least16_t
::uint_least16_t uint_least16_t
Definition: itkIntTypes.h:40
itkMacro.h
itk::uint_least64_t
::uint_least64_t uint_least64_t
Definition: itkIntTypes.h:44
itk::uint_least8_t
::uint_least8_t uint_least8_t
Definition: itkIntTypes.h:38
itk::int_fast32_t
::int_fast32_t int_fast32_t
Definition: itkIntTypes.h:50
itk::uintmax_t
::uintmax_t uintmax_t
Definition: itkIntTypes.h:56
itk::uint_fast64_t
::uint_fast64_t uint_fast64_t
Definition: itkIntTypes.h:53
itk::int_least64_t
::int_least64_t int_least64_t
Definition: itkIntTypes.h:43
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkArray.h:26
itk::OffsetValueType
signed long OffsetValueType
Definition: itkIntTypes.h:94
itk::uint16_t
::uint16_t uint16_t
Definition: itkIntTypes.h:31
itk::IndexValueType
signed long IndexValueType
Definition: itkIntTypes.h:90
itk::int32_t
::int32_t int32_t
Definition: itkIntTypes.h:32
itk::uint32_t
::uint32_t uint32_t
Definition: itkIntTypes.h:33
itk::int_least16_t
::int_least16_t int_least16_t
Definition: itkIntTypes.h:39
itk::int_fast64_t
::int_fast64_t int_fast64_t
Definition: itkIntTypes.h:52
itk::IdentifierType
SizeValueType IdentifierType
Definition: itkIntTypes.h:87
itk::uintptr_t
::uintptr_t uintptr_t
Definition: itkIntTypes.h:59
itk::int_least32_t
::int_least32_t int_least32_t
Definition: itkIntTypes.h:41
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:83
itk::uint_least32_t
::uint_least32_t uint_least32_t
Definition: itkIntTypes.h:42
itk::int_fast16_t
::int_fast16_t int_fast16_t
Definition: itkIntTypes.h:48