Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
numbers.h File Reference
#include <functional>
#include <limits>
#include <string>
#include <string_view>
#include "absl/strings/numbers.h"

Go to the source code of this file.

Namespaces

namespace  strings
 #include "ortools/base/logging.h"
 

Functions

int32_t strings::ParseLeadingInt32Value (const char *str, int32_t deflt)
 
int32_t strings::ParseLeadingInt32Value (std::string_view str, int32_t deflt)
 
uint32_t strings::ParseLeadingUInt32Value (const char *str, uint32_t deflt)
 
uint32_t strings::ParseLeadingUInt32Value (std::string_view str, uint32_t deflt)
 
int32_t strings::ParseLeadingDec32Value (const char *str, int32_t deflt)
 
int32_t strings::ParseLeadingDec32Value (std::string_view str, int32_t deflt)
 
uint32_t strings::ParseLeadingUDec32Value (const char *str, uint32_t deflt)
 
uint32_t strings::ParseLeadingUDec32Value (std::string_view str, uint32_t deflt)
 
uint64_t strings::ParseLeadingUInt64Value (const char *str, uint64_t deflt)
 
uint64_t strings::ParseLeadingUInt64Value (std::string_view str, uint64_t deflt)
 
int64_t strings::ParseLeadingInt64Value (const char *str, int64_t deflt)
 
int64_t strings::ParseLeadingInt64Value (std::string_view str, int64_t deflt)
 
uint64_t strings::ParseLeadingHex64Value (const char *str, uint64_t deflt)
 
uint64_t strings::ParseLeadingHex64Value (std::string_view str, uint64_t deflt)
 
int64_t strings::ParseLeadingDec64Value (const char *str, int64_t deflt)
 
int64_t strings::ParseLeadingDec64Value (std::string_view str, int64_t deflt)
 
uint64_t strings::ParseLeadingUDec64Value (const char *str, uint64_t deflt)
 
uint64_t strings::ParseLeadingUDec64Value (std::string_view str, uint64_t deflt)
 
double strings::ParseLeadingDoubleValue (const char *str, double deflt)
 
double strings::ParseLeadingDoubleValue (std::string_view str, double deflt)
 
false no n y bool strings::ParseLeadingBoolValue (const char *str, bool deflt)
 
bool strings::ParseLeadingBoolValue (std::string_view str, bool deflt)