![]() |
VR-Link API Documentation for HLA Evolved
|
This file declares functions and types helpful to developers using DtString. More...
Go to the source code of this file.
Classes | |
| class | DtStringPatternMatch |
| Performs pattern matching against user specified DtString using Boyer Moore algorithm. More... | |
Typedefs | |
| typedef std::set< DtString > | DtStringSet |
| An set of DtStrings. | |
Functions | |
| template<typename T > | |
| std::wstring | DtToWString (const T &val) |
| This template function takes an instance of any type which has overloaded operator<<(wostream). | |
| std::wstring | DtToWString (const std::string &val) |
| This method overloads the DtToWString template above and allows standard strings to be converted to a wide string;. | |
| std::wstring | DtToWString (const char *val) |
| This function overloads DtToString to provide conversions for const char *. | |
| std::wstring | DtToWString (char *val) |
| This function overloads DtToString to provide conversions for char *. | |
| std::wstring | DtToWString (const DtString &val) |
| This function overloads DtToString to provide conversions for DtStrings. | |
| template<typename T > | |
| std::string | DtToString (const T &val) |
| This Template method takes a variable of any type which has overloaded operator<<(ostream) and returns a standard string. | |
| std::string | DtToString (const std::wstring &val) |
| This function overloads DtToString for standard wide strings. | |
| std::string | DtToString (const wchar_t *val) |
| This function overloads DtToString to provide conversions for const wchar_t *. | |
| DtString | DtToLower (const char *) |
| This function returns a new lowercase DtString. | |
| DtString | DtToLower (const DtString &) |
| This function returns a new lowercase DtString. | |
| DtString | DtToUpper (const char *) |
| This function returns a new uppercase DtString. | |
| DtString | DtToUpper (const DtString &) |
| This function returns a new uppercase DtString. | |
| DtString | DtFirstCharToLower (const DtString &) |
| This function returns a new string with the first character lowercase. | |
| DtString | DtFirstCharToUpper (const DtString &) |
| This function returns a new string with the first character uppercase. | |
| DtString | DtReplaceSubstring (const DtString &str, const DtString &searchFor, const DtString &replacement) |
| This function will replace the first instance of a substring within a string with another string specified by replacement. | |
| DtString | DtReplaceAllSubstrings (const DtString &str, const DtString &searchFor, const DtString &replacement) |
| This function will replace all instances of a substring within a string with another string specified by replacement. | |
| bool | DtContainsSubstring (const DtString &str, const DtString &searchFor) |
| This function looks for a substring within str. | |
This file declares functions and types helpful to developers using DtString.
| typedef std::set<DtString> DtStringSet |
An set of DtStrings.
This function looks for a substring within str.
This function returns a new string with the first character lowercase.
This function returns a new string with the first character uppercase.
| DtString DtReplaceAllSubstrings | ( | const DtString & | str, |
| const DtString & | searchFor, | ||
| const DtString & | replacement | ||
| ) |
This function will replace all instances of a substring within a string with another string specified by replacement.
| str | The string to be searched. |
| searchFor | The substring to be searched for. |
| replacement | The replacement string for subString. |
Referenced by MakeCCompatibleString().
| DtString DtReplaceSubstring | ( | const DtString & | str, |
| const DtString & | searchFor, | ||
| const DtString & | replacement | ||
| ) |
This function will replace the first instance of a substring within a string with another string specified by replacement.
| str | The string to be searched. |
| searchFor | The substring to be searched for. |
| replacement | The replacement string for subString. |
|
inline |
This function returns a new lowercase DtString.
References DtString::toLower().
This function returns a new lowercase DtString.
References DtString::toLower().
|
inline |
This Template method takes a variable of any type which has overloaded operator<<(ostream) and returns a standard string.
Referenced by DtToString().
|
inline |
This function overloads DtToString for standard wide strings.
It returns a standard string, IF there is a conversion possible. This Function will not work for widestrings which actually use more than one byte per character.
References DtToString().
|
inline |
This function overloads DtToString to provide conversions for const wchar_t *.
|
inline |
This function returns a new uppercase DtString.
References DtString::toUpper().
This function returns a new uppercase DtString.
References DtString::toUpper().
|
inline |
This template function takes an instance of any type which has overloaded operator<<(wostream).
It converts that to a standard wide string.
Referenced by DtToWString().
|
inline |
This method overloads the DtToWString template above and allows standard strings to be converted to a wide string;.
|
inline |
This function overloads DtToString to provide conversions for const char *.
|
inline |
This function overloads DtToString to provide conversions for char *.
|
inline |
This function overloads DtToString to provide conversions for DtStrings.
References DtString::c_str(), and DtToWString().