String class.
More...
#include <estring.h>
| EString::EString |
( |
cpStr |
s | ) |
|
|
inline |
Class constructor.
- Parameters
-
| s | the NULL terminated string to initilize this string object to. |
| EString::EString |
( |
cpStr |
s, |
|
|
size_t |
n |
|
) |
| |
|
inline |
Class constructor.
- Parameters
-
| s | a pointer to the beginning of the character buffer. |
| n | the number of characters to assign to the string. |
| EString::EString |
( |
const std::string & |
s | ) |
|
|
inline |
Copy constructor.
- Parameters
-
| EString::EString |
( |
const EString & |
s | ) |
|
|
inline |
Copy constructor.
- Parameters
-
| EString & EString::format |
( |
cpChar |
pszFormat, |
|
|
|
... |
|
) |
| |
Sets the value to the string using a "printf" style format string and arguments.
- Returns
- reference to this string object.
| Int EString::icompare |
( |
EString & |
str | ) |
|
|
inline |
Compares this string object to the specified string object.
- Returns
- see "strnicmp" for the definition of return value.
| Int EString::icompare |
( |
cpStr |
str | ) |
|
|
inline |
Compares this string object to the specified NULL terminated string.
- Returns
- see "strnicmp" for the definition of return value.
Removes leading white space.
| EString::operator cpChar |
( |
| ) |
const |
|
inline |
Retrieves a const char* to this string.
- Returns
- a const char* to this string.
| EString& EString::operator= |
( |
cpChar |
s | ) |
|
|
inline |
Assigns the specified NULL terminated strint to this string object.
- Returns
- reference to this string object.
| EString& EString::operator= |
( |
const std::string |
s | ) |
|
|
inline |
Assignment operator.
- Parameters
-
| s | the string to assignment to this object. |
| EString & EString::replaceAll |
( |
cpStr |
srch, |
|
|
size_t |
srchlen, |
|
|
cpStr |
rplc, |
|
|
size_t |
rplclen |
|
) |
| |
Replaces all occurances of the search string with the replacement string.
- Parameters
-
| srch | the search string. |
| srchlen | the length of the search string. |
| rplc | the replacement string. |
| rplclen | the length of the replacement string. |
- Returns
- a reference to this object.
| EString EString::replaceAllCopy |
( |
cpStr |
srch, |
|
|
size_t |
srchlen, |
|
|
cpStr |
rplc, |
|
|
size_t |
rplclen |
|
) |
| |
Replaces all occurances of the search string with the replacement string and returns a new string object.
- Parameters
-
| srch | the search string. |
| srchlen | the length of the search string. |
| rplc | the replacement string. |
| rplclen | the length of the replacement string. |
- Returns
- the new string object.
Removes trailing white space.
Converts this string to lowercase.
- Returns
- reference to this string object.
Converts this string to uppercase.
- Returns
- reference to this string object.
Removes leading and trailing white space.
The documentation for this class was generated from the following files:
- /home/vagrant/share/code/epctools-omec-pfcp/include/epc/estring.h
- /home/vagrant/share/code/epctools-omec-pfcp/src/estring.cpp