#include <double-conversion.h>
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 |
Definition at line 381 of file double-conversion.h.
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.
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.
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] |
Definition at line 512 of file double-conversion.h.
Referenced by Moses::RuleTableLoaderStandard::Load(), Moses::Syntax::T2S::RuleTrieLoader::Load(), Moses::Syntax::S2T::RuleTrieLoader::Load(), Moses::Syntax::F2S::HyperTreeLoader::Load(), and main().