#include <psstring.h>
|
size_t | FindCommonLength (const psString &other) const |
|
bool | FindNumber (unsigned int &pos, unsigned int &end) const |
|
bool | FindString (const char *border, unsigned int &pos, unsigned int &end) const |
|
int | FindSubString (const char *sub, size_t start=0, bool caseInsense=XML_CASE_SENSITIVE, bool wholeWord=false) const |
|
int | FindSubStringReverse (psString &sub, size_t start, bool caseInsense=XML_CASE_SENSITIVE) |
|
void | GetLine (size_t start, csString &line) const |
|
void | GetSubString (psString &str, size_t from, size_t to) const |
|
void | GetWord (size_t pos, psString &buff, bool wantPunct=INCLUDE_PUNCT) const |
|
void | GetWordNumber (int which, psString &buff) const |
|
bool | IsVowel (size_t pos) |
|
bool | operator< (const psString &other) const |
|
bool | operator== (const psString &other) const |
|
bool | operator== (const char *other) const |
|
int | PartialEquals (const psString &other) const |
|
psString & | Plural () |
| Check if a character is a vowel. More...
|
|
| psString () |
|
| psString (const char *str) |
|
| psString (const csStringBase &str) |
|
| psString (const csString &str) |
|
bool | ReplaceSubString (const char *what, const char *with) |
|
void | Split (csStringArray &result, char delim='|') |
| Turn the last word of the string into an English plural. More...
|
|
Definition at line 37 of file psstring.h.
Enumerator |
---|
NO_PUNCT |
|
INCLUDE_PUNCT |
|
Definition at line 51 of file psstring.h.
psString::psString |
( |
const char * |
str | ) |
|
|
inline |
psString::psString |
( |
const csStringBase & |
str | ) |
|
|
inline |
psString::psString |
( |
const csString & |
str | ) |
|
|
inline |
size_t psString::FindCommonLength |
( |
const psString & |
other | ) |
const |
int psString::FindSubString |
( |
const char * |
sub, |
|
|
size_t |
start = 0 , |
|
|
bool |
caseInsense = XML_CASE_SENSITIVE , |
|
|
bool |
wholeWord = false |
|
) |
| const |
void psString::GetLine |
( |
size_t |
start, |
|
|
csString & |
line |
|
) |
| const |
void psString::GetSubString |
( |
psString & |
str, |
|
|
size_t |
from, |
|
|
size_t |
to |
|
) |
| const |
void psString::GetWordNumber |
( |
int |
which, |
|
|
psString & |
buff |
|
) |
| const |
bool psString::IsVowel |
( |
size_t |
pos | ) |
|
bool psString::operator< |
( |
const psString & |
other | ) |
const |
|
inline |
bool psString::operator== |
( |
const psString & |
other | ) |
const |
|
inline |
bool psString::operator== |
( |
const char * |
other | ) |
const |
|
inline |
int psString::PartialEquals |
( |
const psString & |
other | ) |
const |
|
inline |
Check if a character is a vowel.
bool psString::ReplaceSubString |
( |
const char * |
what, |
|
|
const char * |
with |
|
) |
| |
void psString::Split |
( |
csStringArray & |
result, |
|
|
char |
delim = '|' |
|
) |
| |
Turn the last word of the string into an English plural.
The documentation for this class was generated from the following file: