12#ifndef ARCCORE_BASE_INTERNAL_CONVERTINTERNAL_H
13#define ARCCORE_BASE_INTERNAL_CONVERTINTERNAL_H
22namespace Arcane::Convert::Impl
43 static bool isUseFromChars() {
return m_use_from_chars; }
47 static bool verbosity() {
return m_verbosity; }
58 m_use_same_convert_for_all_real = v;
60 static bool isUseSameConvertForAllReal()
62 return m_use_same_convert_for_all_real;
67 static Int32 m_verbosity;
68 static bool m_use_from_chars;
69 static bool m_use_same_convert_for_all_real;
100 static bool getValue(
double& v,
StringView s);
103 static bool getValue(
long long& v,
StringView s);
Declarations of types for the 'base' component of Arccore.
Information on the behavior of conversion methods.
static void setUseFromChars(bool v)
Indicates whether 'std::from_chars' is used to convert character strings into a numeric type.
static void setUseSameConvertForAllReal(bool v)
static void setVerbosity(Int32 v)
Sets the verbosity level for conversion functions.
Class for converting a 'StringView' to 'double'.
static Int64 _getDoubleValueWithFromChars(double &v, StringView s)
Converts a character string to a double.
static Int64 _getDoubleValue(double &v, StringView s)
Converts s to a double.
Class for converting a 'StringView' to an integral type.
View of a UTF-8 character string.
std::int64_t Int64
Signed integer type of 64 bits.
std::int32_t Int32
Signed integer type of 32 bits.