ADTF  3.18.3
strings_numeric_traits_decl.h File Reference

Public API for string numeric trait functions. More...

Go to the source code of this file.

Classes

struct  IsNumericConvertible
 Convenience methods to validate string-to-numeric conversion for generic programming. More...
 

Namespaces

 a_util
 Serves as the root component, with common functionality documented in core functionality.
 
 a_util::strings
 Serves as component for string handling and conversion functionality.
 

Functions

bool isBool (const std::string &str)
 Check whether a string can be converted to a boolean type. More...
 
bool isInt8 (const std::string &str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isInt16 (const std::string &str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isInt32 (const std::string &str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isInt64 (const std::string &str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isUInt8 (const std::string &str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isUInt16 (const std::string &str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isUInt32 (const std::string &str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isUInt64 (const std::string &str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isFloat (const std::string &str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isDouble (const std::string &str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isBool (const char *str)
 Check whether a string can be converted to a boolean type. More...
 
bool isInt8 (const char *str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isInt16 (const char *str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isInt32 (const char *str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isInt64 (const char *str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isUInt8 (const char *str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isUInt16 (const char *str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isUInt32 (const char *str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isUInt64 (const char *str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isFloat (const char *str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
bool isDouble (const char *str)
 Check whether a string can be converted to a value of the given numeric type. More...
 
template<typename Numeric >
bool isNumeric (const std::string &str)
 Check whether a string is convertible to a value of type Numeric for generic programming. More...
 
template<typename Numeric >
bool isNumeric (const char *str)
 Check whether a string is convertible to a value of type Numeric for generic programming. More...
 

Detailed Description

Public API for string numeric trait functions.

Definition in file strings_numeric_traits_decl.h.