Typedefs | |
| typedef char * | PtrToChar |
Functions | |
| template<typename T> | |
| std::string | ToString (const T &value) |
| Converts selected value into string. | |
| template<> | |
| std::string | ToString< bool > (const bool &value) |
| Specialization for bool. | |
| template<> | |
| std::string | ToString< double > (const double &value) |
| Specialization for double. | |
| template<> | |
| std::string | ToString< float > (const float &value) |
| Specialization for float. | |
| template<> | |
| std::string | ToString< long double > (const long double &value) |
| Specialization for long double. | |
| template<> | |
| std::string | ToString< std::string > (const std::string &value) |
| Specialization for std::string. | |
| template<> | |
| std::string | ToString< PtrToChar > (const PtrToChar &value) |
| Specialization for char *. | |
| template<> | |
| std::string | ToString< char > (const char &value) |
| Specialization for char. | |
| template<typename N> | |
| bool | StringToNumber (const std::string &str, N &number, std::ios_base &(*format)(std::ios_base &)=std::dec) |
| Converts selected string into number. | |
| wxString | string2wxString (const std::string &str) |
| Converts std::string into wxString. | |
| std::string | wxString2string (const wxString &str) |
| Converts wxString into std::string. | |
| typedef char* Conversions::PtrToChar |
| std::string Conversions::ToString | ( | const T & | value | ) | [inline] |
Converts selected value into string.
| value | Value that should be converted into string |
| std::string Conversions::ToString< bool > | ( | const bool & | value | ) | [inline] |
Specialization for bool.
| std::string Conversions::ToString< double > | ( | const double & | value | ) | [inline] |
Specialization for double.
| std::string Conversions::ToString< float > | ( | const float & | value | ) | [inline] |
Specialization for float.
| std::string Conversions::ToString< long double > | ( | const long double & | value | ) | [inline] |
Specialization for long double.
| std::string Conversions::ToString< std::string > | ( | const std::string & | value | ) | [inline] |
Specialization for std::string.
Specialization for char *.
| std::string Conversions::ToString< char > | ( | const char & | value | ) | [inline] |
Specialization for char.
| bool Conversions::StringToNumber | ( | const std::string & | str, | |
| N & | number, | |||
| std::ios_base &(*)(std::ios_base &) | format = std::dec | |||
| ) | [inline] |
Converts selected string into number.
| str | String that should be converted into number | |
| number | Into this parameter the result number will be saved | |
| format | Number format (e.g. std::dec, std::hex) |
| wxString Conversions::string2wxString | ( | const std::string & | str | ) | [inline] |
Converts std::string into wxString.
| str | String to be converted |
| std::string Conversions::wxString2string | ( | const wxString & | str | ) | [inline] |
Converts wxString into std::string.
| str | String to be converted |
1.4.7