double stdex::atod | ( | const std::wstring & | sValue | ) |
Converts a string to it's double representation
sValue | the string to convert |
Definition at line 93 of file std_ex.cpp.
Referenced by wUtil::CConfigStore::GetDoubleEntry().
float stdex::atof | ( | const std::wstring & | sValue | ) |
Converts a string to it's float representation
sValue | the string to convert |
Definition at line 83 of file std_ex.cpp.
int stdex::atoi | ( | const std::wstring & | sValue | ) |
Converts a string to it's int representation
sValue | the string to convert |
Definition at line 63 of file std_ex.cpp.
Referenced by wGui::CRGBColor::CRGBColor().
long int stdex::atol | ( | const std::wstring & | sValue | ) |
Converts a string to it's long integer representation
sValue | the string to convert |
Definition at line 73 of file std_ex.cpp.
Referenced by wUtil::CConfigStore::GetLongIntEntry().
std::vector< std::wstring > stdex::DetokenizeString | ( | const std::wstring & | sString, | |
const std::wstring & | sDelimiters | |||
) |
Detokenize a string given a list of delimiters
sString | The string to be tokenized | |
sDelimiters | A string of delimiter characters |
Definition at line 139 of file std_ex.cpp.
Referenced by wGui::CRGBColor::CRGBColor(), and wGui::CApplication::GetFontEngine().
std::wstring stdex::dtoa | ( | const double | dValue | ) |
Converts a double to it's string representation
dValue | The double to convert to a string |
Definition at line 55 of file std_ex.cpp.
Referenced by wUtil::CConfigStore::SetDoubleEntry().
std::wstring stdex::ftoa | ( | const float | fValue | ) |
Converts a double to it's string representation
fValue | The double to convert to a string |
Definition at line 47 of file std_ex.cpp.
std::wstring stdex::itoa | ( | const int | iValue | ) |
Converts an integer to it's string representation
iValue | The integer to convert to a string |
Definition at line 31 of file std_ex.cpp.
Referenced by wGui::CFontEngine::CFontEngine(), wGui::CRect::ToString(), wGui::CPoint::ToString(), and wGui::CMouseMessage::TranslateSDLButton().
std::wstring stdex::ltoa | ( | const long | lValue | ) |
Converts a long integer to it's string representation
lValue | The integer to convert to a string |
Definition at line 39 of file std_ex.cpp.
Referenced by wUtil::CConfigStore::SetLongIntEntry().
TDest stdex::safe_static_cast | ( | const TSrc & | Value | ) |
std::string stdex::ToMbString | ( | const std::wstring & | sWString | ) |
Convert a wstring to a multibyte string
sWString | a wstring |
Definition at line 128 of file std_ex.cpp.
Referenced by wGui::CBitmapFileResourceHandle::CBitmapFileResourceHandle(), wGui::CFontEngine::CFontEngine(), wGui::CApplication::GetFontEngine(), wUtil::CConfigStore::ReadFromFile(), wGui::CView::SetWindowText(), wUtil::CConfigStore::StoreToFile(), wGui::Wg_Ex_Base::what(), and wUtil::CLog::WriteToFile().
std::wstring stdex::ToWString | ( | const char * | sString | ) |
Convert a character string to a wstring
sString | a pointer to the character string to be converted |
Definition at line 117 of file std_ex.cpp.
Referenced by wGui::CApplication::CApplication(), wGui::CwgStringResourceHandle::CwgStringResourceHandle(), wGui::CApplication::Exec(), wGui::CView::HandleMessage(), wGui::CWindow::SetWindowRect(), wGui::CView::SetWindowRect(), and wGui::CApplication::~CApplication().
std::wstring stdex::TrimString | ( | const std::wstring & | sString | ) |
Trim the whitespace (spaces and tabs) from the beginning and end of a string
sString | The string to be trimmed |
Definition at line 103 of file std_ex.cpp.
Referenced by wUtil::CConfigStore::ReadFromFile().