11 #ifndef __stir_NumericType_H__ 12 #define __stir_NumericType_H__ 89 NumericType(
const std::string& number_format,
const std::size_t size_in_bytes);
96 std::size_t size_in_bytes()
const;
98 std::size_t size_in_bits()
const;
101 bool signed_type()
const;
104 bool integer_type()
const;
107 void get_Interfile_info(std::string& number_format, std::size_t& size_in_bytes)
const;
120 template <
int numeric_type_enum>
125 #ifndef DOXYGEN_SKIP // disable definitions when running doxygen to avoid having all of this in the doc 129 typedef signed char type;
134 typedef unsigned char type;
139 typedef signed short type;
144 typedef unsigned short type;
149 typedef signed int type;
154 typedef unsigned int type;
159 typedef signed long type;
164 typedef unsigned long type;
Type
An enum for the supported types.
Definition: NumericType.h:61
Type id
stores the current type
Definition: NumericType.h:78
Implementation of inline methods of class stir::NumericType.
A helper class that specifies the C++ type for a particular NumericType.
Definition: NumericType.h:121
provides names for some numeric types and methods for finding their properties.
Definition: NumericType.h:54
basic configuration include file