#include <string>
#include <limits>
#include <openvpn/common/size.hpp>
#include <openvpn/common/exception.hpp>
Go to the source code of this file.
|
| openvpn::OPENVPN_EXCEPTION (number_parse_exception) |
|
template<typename T > |
bool | openvpn::parse_number (const char *str, T &retval, const bool nondigit_term=false) |
|
template<typename T > |
bool | openvpn::parse_number (const std::string &str, T &retval) |
|
template<typename T > |
T | openvpn::parse_number_throw (const std::string &str, const std::string &error) |
|
template<typename T > |
T | openvpn::parse_number_throw (const std::string &str, const char *error) |
|
template<typename T > |
T | openvpn::parse_number_throw (const char *str, const char *error) |
|
template<typename T > |
bool | openvpn::parse_number_validate (const std::string &numstr, const size_t max_len, const T minimum, const T maximum, T *value_return=nullptr) |
|
bool | openvpn::is_number (const char *str) |
|