28#ifndef DOUBLE_CONVERSION_STRING_TO_DOUBLE_H_
29#define DOUBLE_CONVERSION_STRING_TO_DOUBLE_H_
168 double empty_string_value,
169 double junk_string_value,
170 const char* infinity_symbol,
171 const char* nan_symbol,
174 empty_string_value_(empty_string_value),
175 junk_string_value_(junk_string_value),
176 infinity_symbol_(infinity_symbol),
177 nan_symbol_(nan_symbol),
178 separator_(separator) {
188 int* processed_characters_count)
const;
193 int* processed_characters_count)
const;
200 int* processed_characters_count)
const;
205 int* processed_characters_count)
const;
208 template <
typename T>
211 int* processed_characters_count)
const;
214 template <
typename T>
217 int* processed_characters_count)
const;
221 const double empty_string_value_;
222 const double junk_string_value_;
223 const char*
const infinity_symbol_;
224 const char*
const nan_symbol_;
225 const uc16 separator_;
227 template <
class Iterator>
228 double StringToIeee(Iterator start_pointer,
231 int* processed_characters_count)
const;
StringToDoubleConverter(int flags, double empty_string_value, double junk_string_value, const char *infinity_symbol, const char *nan_symbol, uc16 separator=kNoSeparator)
Definition string-to-double.h:167
double StringToDouble(const uc16 *buffer, int length, int *processed_characters_count) const
Flags
Definition string-to-double.h:39
@ ALLOW_LEADING_SPACES
Definition string-to-double.h:44
@ ALLOW_OCTALS
Definition string-to-double.h:42
@ ALLOW_SPACES_AFTER_SIGN
Definition string-to-double.h:46
@ ALLOW_TRAILING_SPACES
Definition string-to-double.h:45
@ ALLOW_HEX
Definition string-to-double.h:41
@ ALLOW_TRAILING_JUNK
Definition string-to-double.h:43
@ ALLOW_CASE_INSENSITIVITY
Definition string-to-double.h:47
@ ALLOW_CASE_INSENSIBILITY
Definition string-to-double.h:48
@ ALLOW_HEX_FLOATS
Definition string-to-double.h:49
@ NO_FLAGS
Definition string-to-double.h:40
static const uc16 kNoSeparator
Definition string-to-double.h:52
T StringTo(const uc16 *buffer, int length, int *processed_characters_count) const
T StringTo(const char *buffer, int length, int *processed_characters_count) const
double StringToDouble(const char *buffer, int length, int *processed_characters_count) const
float StringToFloat(const char *buffer, int length, int *processed_characters_count) const
float StringToFloat(const uc16 *buffer, int length, int *processed_characters_count) const
uint16_t uc16
Definition utils.h:190
#define DOUBLE_CONVERSION_DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName)
Definition utils.h:231