#include <K3dString.h>
Inheritance diagram for K3d::K3dString:
Public Member Functions | |
K3dString () | |
K3dString (const char *_str) | |
K3dString (const K3dString &_rStr) | |
K3dString (const TString &_rStr) | |
~K3dString () | |
size_t | Find (const char *_str) |
Find string. | |
size_t | RFind (const char *_str) |
Reverse find string. | |
TString & | SetNum (int _iVal) |
Convert int to string. | |
TString & | SetNum (bool _bVal) |
Convert bool to string. | |
TString & | SetNum (unsigned int _uiVal) |
Convert unsigned to string. | |
TString & | SetNum (float _fVal) |
Convert float to string. | |
K3dString & | GetStrTok (K3dString &_strOut, const K3dString &_strSign) |
Finding sign _strSign and cuts to the two strings (front and back strings of sign _strSign). | |
K3dString & | Left (size_t _iPos) |
Returns a substring that contains the _iPos leftmost characters of the string. | |
K3dString & | Right (size_t _iPos) |
Returns a substring that contains the _iPos rightmost characters of the string. | |
TString & | ToLower () |
Convert string to lower case. | |
void | StrLwr (const char *_str) |
Convert apper case string to the lower case string. | |
void | AddNumber (const int _iVal) |
Add number behind string. | |
bool & | GetFoundToken () |
void | GetString (const char *_strOut) |
Get "const char*" string. | |
int | ToInt () |
Convert string to int. | |
float | ToFloat () |
Convert string to float. | |
double | ToDouble () |
Convert string to double. | |
TString & | GetString () |
Get std::string. | |
const TString & | GetString () const |
Get std::string. | |
void | SetString (const char *_str) |
Set "const char*" string. | |
K3dString & | operator= (K3dString &_rStr) |
K3dString & | operator= (const K3dString &_rStr) |
K3dString & | operator= (const char *_str) |
K3dString & | operator+= (const K3dString &_rStr) |
K3dString & | operator+= (const char *_str) |
char & | operator[] (int _iPos) |
bool | operator!= (const char *_str) |
bool | operator!= (const char *_str) const |
bool | operator!= (const K3dString &_str) |
bool | operator== (const char *_str) |
bool | operator== (const char *_str) const |
bool | operator== (K3dString &_str) |
bool | operator== (K3dString &_str) const |
void | Erase (size_t _uiPos, size_t _uiNumPos) |
size_t | GetSize () |
Get string size. | |
size_t | GetLength () |
Get string length. | |
size_t | Find (const K3dString &_str) |
Searche for the first occurrence of the substring _str. | |
void | Clear () |
Clear current string. | |
Private Attributes | |
TString | m_str |
bool | m_bFoundToken |
Found token in GetStrTok() function ? |
Definition at line 74 of file K3dString.h.
|
Definition at line 79 of file K3dString.h. |
|
Definition at line 82 of file K3dString.h. References m_str. |
|
Definition at line 94 of file K3dString.h. |
|
Definition at line 98 of file K3dString.h. References m_str. |
|
Definition at line 102 of file K3dString.h. References m_str. |
|
Add number behind string.
Definition at line 129 of file K3dString.cpp. |
|
Clear current string.
Definition at line 331 of file K3dString.h. References m_str. |
|
Definition at line 305 of file K3dString.h. References m_str. |
|
Searche for the first occurrence of the substring _str.
Definition at line 325 of file K3dString.h. References GetString(), and m_str. |
|
Find string.
Definition at line 68 of file K3dString.cpp. References m_str. Referenced by GetStrTok(). |
|
Definition at line 120 of file K3dString.h. References m_bFoundToken. |
|
Get string length.
Definition at line 317 of file K3dString.h. References m_str. |
|
Get string size.
Definition at line 311 of file K3dString.h. References m_str. |
|
Get std::string.
Definition at line 168 of file K3dString.h. References m_str. |
|
Get std::string.
Definition at line 161 of file K3dString.h. References m_str. |
|
Get "const char*" string.
Definition at line 127 of file K3dString.h. References m_str. Referenced by Find(), GetStrTok(), operator!=(), K3d::operator+(), operator+=(), operator=(), and operator==(). |
|
Finding sign _strSign and cuts to the two strings (front and back strings of sign _strSign).
Definition at line 174 of file K3dString.cpp. References Find(), GetString(), Left(), m_bFoundToken, m_str, and Right(). |
|
Returns a substring that contains the _iPos leftmost characters of the string.
Definition at line 138 of file K3dString.cpp. References m_str. Referenced by GetStrTok(). |
|
Definition at line 240 of file K3dString.h. References GetString(), and m_str. |
|
Definition at line 227 of file K3dString.h. References m_str. |
|
Definition at line 214 of file K3dString.h. References m_str. |
|
Definition at line 203 of file K3dString.h. References m_str. |
|
Definition at line 197 of file K3dString.h. References GetString(), and m_str. |
|
Definition at line 191 of file K3dString.h. References m_str. |
|
Definition at line 185 of file K3dString.h. References GetString(), and m_str. |
|
Definition at line 179 of file K3dString.h. References GetString(), and m_str. |
|
Definition at line 292 of file K3dString.h. References GetString(), and m_str. |
|
Definition at line 279 of file K3dString.h. References GetString(), and m_str. |
|
Definition at line 266 of file K3dString.h. References m_str. |
|
Definition at line 253 of file K3dString.h. References m_str. |
|
Definition at line 209 of file K3dString.h. References m_str. |
|
Reverse find string.
Definition at line 76 of file K3dString.cpp. References m_str. |
|
Returns a substring that contains the _iPos rightmost characters of the string.
Definition at line 155 of file K3dString.cpp. References m_str. Referenced by GetStrTok(). |
|
Convert float to string.
Definition at line 119 of file K3dString.cpp. References m_str. |
|
Convert unsigned to string.
Definition at line 109 of file K3dString.cpp. References m_str. |
|
Convert bool to string.
Definition at line 94 of file K3dString.cpp. References m_str. |
|
Convert int to string.
Definition at line 84 of file K3dString.cpp. References m_str. Referenced by AddNumber(). |
|
Set "const char*" string.
Definition at line 174 of file K3dString.h. References m_str. |
|
Convert apper case string to the lower case string.
Definition at line 53 of file K3dString.cpp. |
|
Convert string to double.
Definition at line 151 of file K3dString.h. References m_str. |
|
Convert string to float.
Definition at line 142 of file K3dString.h. References m_str. |
|
Convert string to int.
Definition at line 133 of file K3dString.h. References m_str. |
|
Convert string to lower case.
Definition at line 45 of file K3dString.cpp. References m_str. Referenced by StrLwr(). |
|
Found token in GetStrTok() function ?
Definition at line 77 of file K3dString.h. Referenced by GetFoundToken(), and GetStrTok(). |
|
Definition at line 76 of file K3dString.h. Referenced by AddNumber(), Clear(), Erase(), Find(), GetLength(), GetSize(), GetString(), GetStrTok(), K3dString(), Left(), operator!=(), operator+=(), operator=(), operator==(), operator[](), RFind(), Right(), SetNum(), SetString(), StrLwr(), ToDouble(), ToFloat(), ToInt(), ToLower(), and ~K3dString(). |