|
OpenMS
2.6.0
|
Go to the documentation of this file.
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>
OPENMS_UINT32_TYPE UInt32
Unsigned integer type (32bit)
Definition: Types.h:63
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:77
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
constexpr Int writtenDigits< DataValue >(const DataValue &)
DataValue will be printed like double.
Definition: Types.h:255
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< float >(const float &)
Number of digits commonly used for writing a float (a.k.a. precision).
Definition: Types.h:212
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
OPENMS_INT64_TYPE Int64
Signed integer type (64bit)
Definition: Types.h:70
OPENMS_BYTE_TYPE Byte
Byte type.
Definition: Types.h:111
int Int
Signed integer type.
Definition: Types.h:102
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
OPENMS_UINT64_TYPE UID
A unique object ID (as unsigned 64bit type).
Definition: Types.h:120
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
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:56
ASCII
Definition: Types.h:136
time_t Time
Time type.
Definition: Types.h:86
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
constexpr Int writtenDigits< double >(const double &)
Number of digits commonly used for writing a double (a.k.a. precision).
Definition: Types.h:219
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
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< long double >(const long double &)
Number of digits commonly used for writing a long double (a.k.a. precision). ...
Definition: Types.h:278
const char * OpenMS_locale
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
OPENMS_INT32_TYPE Int32
Signed integer type (32bit)
Definition: Types.h:56