#include <String.h>
Public Member Functions |
| String () |
| String (const char *src) |
| String (const char *src, unsigned int len) |
| String (const String &str) |
| ~String () |
String & | operator+= (String &str) |
String | operator+ (String &b) |
void | fromInt (int x) |
void | fromInt64 (long long x) |
void | fromUInt (unsigned int x) |
void | fromUInt64 (unsigned long long x) |
String & | operator= (const char *str) |
String & | operator= (String) |
bool | operator== (String &str) |
bool | operator!= (String &str) |
bool | operator> (String &str) |
bool | operator< (String &str) |
char & | operator[] (unsigned int index) |
void | addSlashes () |
void | replace (const char *search, const char *replace, unsigned int limit=0) |
int | fastReplace (const char *search, const char *replace, unsigned int limit=0) |
int | strPos (const char *search, unsigned int offset=0) |
int | fastStrPos (const char *search, unsigned int offset=0) |
void | urlEncode () |
void | urlDecode () |
void | jsonEncode () |
unsigned int | length () |
String & | subStr (unsigned int pos, unsigned int len) |
const char * | c_str () |
String ** | split (const char *pattern) |
void | implode (unsigned int count, const char *glue,...) |
void | implode (const char *glue, char **str) |
bool | wildcmp (char *wild) |
bool | wildcmp (String &pattern) |
Static Public Member Functions |
static int | fastStrPos (const unsigned char *haystack, int hLen, const unsigned char *needle, int nLen, unsigned int offset=0) |
static unsigned int | jsonEncode (const char *src, unsigned int len, char **dst) |
Detailed Description
Definition at line 14 of file String.h.
Constructor & Destructor Documentation
String::String |
( |
const char * |
src | ) |
|
String::String |
( |
const char * |
src, |
|
|
unsigned int |
len |
|
) |
| |
String::String |
( |
const String & |
str | ) |
|
Member Function Documentation
void String::addSlashes |
( |
| ) |
|
const char * String::c_str |
( |
| ) |
|
int String::fastReplace |
( |
const char * |
search, |
|
|
const char * |
replace, |
|
|
unsigned int |
limit = 0 |
|
) |
| |
int String::fastStrPos |
( |
const char * |
search, |
|
|
unsigned int |
offset = 0 |
|
) |
| |
int String::fastStrPos |
( |
const unsigned char * |
haystack, |
|
|
int |
hLen, |
|
|
const unsigned char * |
needle, |
|
|
int |
nLen, |
|
|
unsigned int |
offset = 0 |
|
) |
| |
|
static |
void String::fromInt |
( |
int |
x | ) |
|
void String::fromInt64 |
( |
long long |
x | ) |
|
void String::fromUInt |
( |
unsigned int |
x | ) |
|
void String::fromUInt64 |
( |
unsigned long long |
x | ) |
|
void String::implode |
( |
unsigned int |
count, |
|
|
const char * |
glue, |
|
|
|
... |
|
) |
| |
void String::implode |
( |
const char * |
glue, |
|
|
char ** |
str |
|
) |
| |
void String::jsonEncode |
( |
| ) |
|
unsigned int String::jsonEncode |
( |
const char * |
src, |
|
|
unsigned int |
len, |
|
|
char ** |
dst |
|
) |
| |
|
static |
unsigned int String::length |
( |
| ) |
|
bool String::operator!= |
( |
String & |
str | ) |
|
bool String::operator< |
( |
String & |
str | ) |
|
String & String::operator= |
( |
const char * |
str | ) |
|
bool String::operator== |
( |
String & |
str | ) |
|
bool String::operator> |
( |
String & |
str | ) |
|
char & String::operator[] |
( |
unsigned int |
index | ) |
|
void String::replace |
( |
const char * |
search, |
|
|
const char * |
replace, |
|
|
unsigned int |
limit = 0 |
|
) |
| |
String ** String::split |
( |
const char * |
pattern | ) |
|
int String::strPos |
( |
const char * |
search, |
|
|
unsigned int |
offset = 0 |
|
) |
| |
String & String::subStr |
( |
unsigned int |
pos, |
|
|
unsigned int |
len |
|
) |
| |
void String::urlDecode |
( |
| ) |
|
void String::urlEncode |
( |
| ) |
|
bool String::wildcmp |
( |
char * |
wild | ) |
|
bool String::wildcmp |
( |
String & |
pattern | ) |
|
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
String & |
str |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files:
- sources/utils/applicationFramework/src/String.h
- sources/utils/applicationFramework/src/String.cpp