#include <KeosString.h>
Public Types | |
| typedef std::stringstream | StrStreamType |
Static Public Member Functions | |
| static void | Split (const String &strString, std::vector< String > &Tokens, const String &strDelim=" \t\n") |
| Split a string. | |
| static void | Trim (String &str, bool bLeft=true, bool bRight=true) |
| Removes any whitespace characters, be it standard space or TABs and so on. | |
| static void | ToLowerCase (String &str) |
| Upper-cases all the characters in the string. | |
| static void | ToUpperCase (String &str) |
| Lower-cases all the characters in the string. | |
| static String | ToLower (const String &strText) |
| Lower-cases all the characters in the string. | |
| static String | ToUpper (const String &strText) |
| Upper-cases all the characters in the string. | |
Static Public Attributes | |
| static const String | BLANK |
| Constant blank string. | |
Definition at line 30 of file KeosString.h.
| typedef std::stringstream Keos::CStringUtil::StrStreamType |
Definition at line 33 of file KeosString.h.
| void Keos::CStringUtil::Split | ( | const String & | strString, | |
| std::vector< String > & | Tokens, | |||
| const String & | strDelim = " \t\n" | |||
| ) | [static] |
Split a string.
| strString | String to split. | |
| Tokens | Destination array. | |
| strDelim | Chars used to split the string. |
Definition at line 43 of file KeosString.cpp.
Referenced by Keos::CMediaManager::RegisterLoader().
| void Keos::CStringUtil::Trim | ( | String & | str, | |
| bool | bLeft = true, |
|||
| bool | bRight = true | |||
| ) | [static] |
Removes any whitespace characters, be it standard space or TABs and so on.
Definition at line 33 of file KeosString.cpp.
| void Keos::CStringUtil::ToLowerCase | ( | String & | str | ) | [static] |
| void Keos::CStringUtil::ToUpperCase | ( | String & | str | ) | [static] |
Lower-cases all the characters in the string.
Definition at line 80 of file KeosString.cpp.
Referenced by Keos::CMediaManager::RegisterLoader().
const String Keos::CStringUtil::BLANK [static] |
Constant blank string.
Definition at line 64 of file KeosString.h.
Referenced by Keos::CXMLConfigFile::GetSetting().
1.5.1-p1