xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
Namespaces | Functions
parse.h File Reference
#include <string>
#include "number_styles.h"

Definition

Contains xtd::parse methods.

Go to the source code of this file.

Namespaces

namespace  xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 

Functions

template<typename value_t >
value_t xtd::parse (const std::string &str)
 Convert a type into a string.
 
template<typename value_t >
value_t xtd::parse (const std::string &str, const std::string &fmt)
 Convert a type into a string.
 
template<typename value_t >
value_t xtd::parse (const std::string &str, number_styles)
 Convert a type into a string.
 
template<typename value_t >
value_t xtd::parse (const std::u16string &str)
 Convert a type into a string.
 
template<typename value_t >
value_t xtd::parse (const std::u32string &str)
 Convert a type into a string.
 
template<typename value_t >
value_t xtd::parse (const std::wstring &str)
 Convert a type into a string.
 
template<>
bool xtd::parse< bool > (const std::string &str)
 Convert a type into a string.
 
template<>
char xtd::parse< char > (const std::string &str)
 Convert a type into a string.
 
template<>
char xtd::parse< char > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
double xtd::parse< double > (const std::string &str)
 Convert a type into a string.
 
template<>
double xtd::parse< double > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
float xtd::parse< float > (const std::string &str)
 Convert a type into a string.
 
template<>
float xtd::parse< float > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
int xtd::parse< int > (const std::string &str)
 Convert a type into a string.
 
template<>
int xtd::parse< int > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
int8_t xtd::parse< int8_t > (const std::string &str)
 Convert a type into a string.
 
template<>
int8_t xtd::parse< int8_t > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
long xtd::parse< long > (const std::string &str)
 Convert a type into a string.
 
template<>
long xtd::parse< long > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
long double xtd::parse< long double > (const std::string &str)
 Convert a type into a string.
 
template<>
long double xtd::parse< long double > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
long long xtd::parse< long long > (const std::string &str)
 Convert a type into a string.
 
template<>
long long xtd::parse< long long > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
short xtd::parse< short > (const std::string &str)
 Convert a type into a string.
 
template<>
short xtd::parse< short > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
std::string xtd::parse< std::string > (const std::string &str)
 Convert a type into a string.
 
template<>
unsigned char xtd::parse< unsigned char > (const std::string &str)
 Convert a type into a string.
 
template<>
unsigned char xtd::parse< unsigned char > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
unsigned int xtd::parse< unsigned int > (const std::string &str)
 Convert a type into a string.
 
template<>
unsigned int xtd::parse< unsigned int > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
unsigned long xtd::parse< unsigned long > (const std::string &str)
 Convert a type into a string.
 
template<>
unsigned long xtd::parse< unsigned long > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
unsigned long long xtd::parse< unsigned long long > (const std::string &str)
 Convert a type into a string.
 
template<>
unsigned long long xtd::parse< unsigned long long > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<>
unsigned short xtd::parse< unsigned short > (const std::string &str)
 Convert a type into a string.
 
template<>
unsigned short xtd::parse< unsigned short > (const std::string &str, number_styles styles)
 Convert a type into a string.
 
template<typename value_t , typename char_t >
bool xtd::try_parse (const char_t *str, value_t &value)
 Convert a type into a string.
 
template<typename value_t , typename char_t >
bool xtd::try_parse (const std::basic_string< char_t > &str, value_t &value)
 Convert a type into a string.