37 #include <OpenMS/config.h>
45 #ifdef OPENMS_HAS_STDINT_H
56 typedef OPENMS_INT32_TYPE
Int32;
70 typedef OPENMS_INT64_TYPE
Int64;
120 typedef OPENMS_UINT64_TYPE
UID;
207 template <
typename FloatingPo
intType>
208 inline constexpr
Int writtenDigits(
const FloatingPointType& = FloatingPointType());
214 return std::numeric_limits<float>::digits10;
221 return std::numeric_limits<double>::digits10;
228 return std::numeric_limits<int>::digits10;
235 return std::numeric_limits<unsigned int>::digits10;
242 return std::numeric_limits<int>::digits10;
249 return std::numeric_limits<unsigned int>::digits10;
257 return std::numeric_limits<double>::digits10;
280 #ifndef OPENMS_WINDOWSPLATFORM
281 return std::numeric_limits<long double>::digits10;
284 return std::numeric_limits<double>::digits10;
293 template <
typename FloatingPo
intType>
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:59
OPENMS_BYTE_TYPE Byte
Byte type.
Definition: Types.h:111
OPENMS_UINT32_TYPE UInt32
Unsigned integer type (32bit)
Definition: Types.h:63
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:77
int Int
Signed integer type.
Definition: Types.h:102
OPENMS_INT32_TYPE Int32
Signed integer type (32bit)
Definition: Types.h:56
OPENMS_INT64_TYPE Int64
Signed integer type (64bit)
Definition: Types.h:70
OPENMS_UINT64_TYPE UID
A unique object ID (as unsigned 64bit type).
Definition: Types.h:120
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
time_t Time
Time type.
Definition: Types.h:86
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
const char * OpenMS_locale
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
ASCII
Definition: Types.h:137
@ ASCII__EXCLAMATION_MARK
Definition: Types.h:150
@ ASCII__HORIZONTAL_TAB
Definition: Types.h:141
@ ASCII__BACKSPACE
Definition: Types.h:138
@ ASCII__RETURN
Definition: Types.h:143
@ ASCII__NEWLINE
Definition: Types.h:142
@ ASCII__SEMICOLON
Definition: Types.h:153
@ ASCII__TAB
Definition: Types.h:145
@ ASCII__COMMA
Definition: Types.h:149
@ ASCII__COLON
Definition: Types.h:148
@ ASCII__BELL
Definition: Types.h:139
@ ASCII__SPACE
Definition: Types.h:144
@ ASCII__POINT
Definition: Types.h:151
@ ASCII__QUESTION_MARK
Definition: Types.h:152
@ ASCII__CARRIAGE_RETURN
Definition: Types.h:140
@ ASCII__VERTICAL_TAB
Definition: Types.h:146
constexpr Int writtenDigits< long int >(const long int &)
We do not want to bother people who unintentionally provide a long int argument to this.
Definition: Types.h:240
constexpr Int writtenDigits< float >(const float &)
Number of digits commonly used for writing a float (a.k.a. precision).
Definition: Types.h:212
constexpr Int writtenDigits< long double >(const long double &)
Number of digits commonly used for writing a long double (a.k.a. precision). ...
Definition: Types.h:278
constexpr Int writtenDigits< unsigned long int >(const unsigned long int &)
We do not want to bother people who unintentionally provide an unsigned long int argument to this.
Definition: Types.h:247
constexpr Int writtenDigits< DataValue >(const DataValue &)
DataValue will be printed like double.
Definition: Types.h:255
constexpr Int writtenDigits< double >(const double &)
Number of digits commonly used for writing a double (a.k.a. precision).
Definition: Types.h:219
constexpr Int writtenDigits< unsigned int >(const unsigned int &)
We do not want to bother people who unintentionally provide an unsigned int argument to this.
Definition: Types.h:233
constexpr Int writtenDigits< int >(const int &)
We do not want to bother people who unintentionally provide an int argument to this.
Definition: Types.h:226
constexpr Int writtenDigits(const FloatingPointType &=FloatingPointType())
Number of digits commonly used for writing a floating point type (a.k.a. precision)....
Definition: Types.h:294