28 #ifndef __RTTR_STD_CONVERSION_FUNCTIONS_H__
29 #define __RTTR_STD_CONVERSION_FUNCTIONS_H__
41 RTTR_API bool char_to_bool(
const char* source,
bool* ok);
45 RTTR_API int char_to_int(
const char* source,
bool* ok);
49 RTTR_API long long char_to_long_long(
const char* source,
bool& ok);
53 RTTR_API unsigned int char_to_uint(
const char* source,
bool& ok);
57 RTTR_API float char_to_float(
const char* source,
bool* ok);
61 RTTR_API double char_to_double(
const char* source,
bool* ok);
65 RTTR_API std::string int_to_string(
int value,
bool* ok);
69 RTTR_API std::string float_to_string(
float value,
bool* ok);
73 RTTR_API std::string double_to_string(
double value,
bool* ok);
77 RTTR_API bool string_to_bool(std::string value,
bool* ok);
81 RTTR_API int string_to_int(
const std::string& source,
bool* ok);
85 RTTR_API float string_to_float(
const std::string& source,
bool* ok);
89 RTTR_API double string_to_double(
const std::string& source,
bool* ok);
94 #endif // __RTTR_STD_CONVERSION_FUNCTIONS_H__
#define RTTR_API
Definition: core_prerequisites.h:124