double_conversion::StringToDoubleConverter Class Reference

#include <double-conversion.h>

List of all members.

Public Types

enum  Flags {
  NO_FLAGS = 0, ALLOW_HEX = 1, ALLOW_OCTALS = 2, ALLOW_TRAILING_JUNK = 4,
  ALLOW_LEADING_SPACES = 8, ALLOW_TRAILING_SPACES = 16, ALLOW_SPACES_AFTER_SIGN = 32
}

Public Member Functions

 StringToDoubleConverter (int flags, double empty_string_value, double junk_string_value, const char *infinity_symbol, const char *nan_symbol)
double StringToDouble (const char *buffer, int length, int *processed_characters_count) const
float StringToFloat (const char *buffer, int length, int *processed_characters_count) const


Detailed Description

Definition at line 381 of file double-conversion.h.


Member Enumeration Documentation

Enumerator:
NO_FLAGS 
ALLOW_HEX 
ALLOW_OCTALS 
ALLOW_TRAILING_JUNK 
ALLOW_LEADING_SPACES 
ALLOW_TRAILING_SPACES 
ALLOW_SPACES_AFTER_SIGN 

Definition at line 385 of file double-conversion.h.


Constructor & Destructor Documentation

double_conversion::StringToDoubleConverter::StringToDoubleConverter ( int  flags,
double  empty_string_value,
double  junk_string_value,
const char *  infinity_symbol,
const char *  nan_symbol 
) [inline]

Definition at line 486 of file double-conversion.h.


Member Function Documentation

double double_conversion::StringToDoubleConverter::StringToDouble ( const char *  buffer,
int  length,
int *  processed_characters_count 
) const [inline]

Definition at line 503 of file double-conversion.h.

float double_conversion::StringToDoubleConverter::StringToFloat ( const char *  buffer,
int  length,
int *  processed_characters_count 
) const [inline]


The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:32:38 2017 for Moses by  doxygen 1.5.9